{ Learn Code. Share Code. Teach Code. Love Code. }

  • How To Install LAMP

  • Linux tutorials and code.
Linux tutorials and code.
 #49088  by mikethedj4
 Sun Jul 24, 2011 1:22 pm
Now you could head here and learn by installing everything separately, which is recommended. However an easy, and simple way to install LAMP is by typing the following in your terminal.
Code: Select all
sudo apt-get install lamp-server^
Now open the following in your web browser...
Code: Select all
Apache should be working perfectly fine, but to test, and see if PHP is working fine type the following in your terminal (change gedit if needed if you're using a different text editor)
Code: Select all
sudo gedit /var/www/test.php
Now to test this out lets open up the following web page.
Code: Select all
There you go! That's the basics on getting started.

If you're having trouble, this video should help you out.
Also to findout your IP Address you can visit either two websites below.
Last edited by mikethedj4 on Sun Jul 24, 2011 2:03 pm, edited 3 times in total.
 #58201  by Kelly
 Sun Nov 20, 2011 9:30 pm
LAMP has many bugs, I suggest installing everything manually. (Not apache2 though, use lighttpd or nginx instead)