Install Lamp Server in Ubuntu 12.10

To install Lamp server (including Apache, MySQL and PHP) is very easy. Simply run the following command from a terminal window.

sudo apt-get install lamp-server^

Note that don’t skip the “^” at the end.

Follow the prompt to provide root password, etc.

After installation, you can test the server by opening localhost from a web browser.

 

Access the web server from Host Machine

If you want to access the web server in virtual machine from the host, you can use the port forward function in VirtualBox.

Go to Settings->Network->Port Forward. Add port forward for default HTTP port 80.

After it is set, you will be able to access the web page from the host.

Does it works for you? Let us know.




Develop your Website in Virtual Machine
Tagged on:             

Please tell us what's in your mind ...

%d bloggers like this: