How To Install LAMP

Linux tutorials and code.
3 posts Page 1 of 1
Contributors
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

How To Install LAMP
mikethedj4
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
http://localhost/
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
http://localhost/test.php
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.
http://www.whatismyip.com/
http://echoip.com/
Last edited by mikethedj4 on Sun Jul 24, 2011 2:03 pm, edited 3 times in total.
User avatar
Danny
VIP - Donator
VIP - Donator
Posts: 621
Joined: Sat Oct 30, 2010 8:21 pm

Re: How To Install LAMP (Direct Link)
Danny
I install my lamp(dutch for light) when my old lamp(light) is broken x]
User avatar
Kelly
Linux Users
Linux Users
Posts: 11
Joined: Sun Nov 20, 2011 5:49 am

Re: How To Install LAMP
Kelly
LAMP has many bugs, I suggest installing everything manually. (Not apache2 though, use lighttpd or nginx instead)
3 posts Page 1 of 1
Return to “Programming”