Custom Search

Saturday, October 24, 2009

How to install LAMP

From a command shell, you will run the following commands:

Code:

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart

Your internet browser files will now be found in /var/www/ which is just usually a couple of html documents released with the standard apache distribution. From here it is simply a matter of following any tutorial on the internet on how to build websites. Just put your .php scripts, .jpgegs, .pngs, and .html files in your /var/www directory.

No comments:

Post a Comment