I'm currently running a virtual Ubuntu Server on my mac via Parallels. It is really quite alright, but working in the virtual environment can be a little slow. I am looking to just run the server, but do the actual development on the mac side. I really just want the server to run silently in the background whilst all dev work is handled on the mac. Wamp server for mac free download - Varal WAMP, Apple Mac OS X Snow Leopard, Parallels Server for Mac, and many more programs. Now we just need to tell Mac OS to use dnsmasq instead of the DNS server that is assigned to you by your gateway. The most straightforward way of doing this is to simply add 127.0.0.1 to your list of DNS servers. The problem is that you will also need to make sure that you have another DNS server for other requests. I like to use OpenDNS.
May 4, 2013 11:51 PM
Great guide, thanks John.
Just a note, in case anyone has the same issue. At first I couldn't get this to work. I tried logging out and back in (still no joy), then restarting the mac (still no joy).
Try doing both of those first. However, if, like me, you still can't get the local host site to load, try the following: You should find a file at /Library/WebServer/Documents/index.html.en . This contains the text 'It works!' referred to in the post. What I did was duplicate that file in the same folder and changed the duplicate's name to 'index.html', leaving the original in situ.
Both local and user sites then loaded. After which, I was able to delete the duplicated file and everything now works without issue. Just to be clear, leave the original file index.html.en where it is, untouched and unharmed throughout this step.
How To Install Lamp Server
Not sure why I had to take this mysterious detour - probably something local to my machine, but if you're having trouble after following the guide above, see if it helps.
May 4, 2013 11:51 PM
Follow these simple steps to find out the status of Apache HTTP web server, MySQL and PHP in your LAMP stack.
Apache HTTP web server
Go to http://server-ip:80 on your web browser. A page saying your Apache server is running properly should show up.
If it isn’t working, then check the status of the Apache web server by running the following command in your terminal
This command will show whether Apache is running or has stopped. If it is stopped, then restart the web server for which use the below command.
How To Start Lamp Server
You can use mysqladmin command to find out whether mysql is running or not.
If mysql is not running, you will receive the following message or similar.
You can restart mysql service using the following command
After restarting mysql, you can check the status again to make sure it is running.
To verify if php is installed properly and running in your Virtual Compute Node, create a file by using the command below
Press the key I to edit the file, enter the following content in the file and then save and exit by pressing ESC key followed by :wq! then hit Enter.
Then restart the Apache web server . This is done in order for the web server to recognize the changes done to the server. You can check the status of php by entering the following URL in your web browser.
If php is running in your server, you will receive the following message in your web browser.