10.11.12

Install LAMP on Linux


LAMP is a solution stack of free, open source software. The acronym LAMP refers to the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software) and originally PHP (but now sometimes Perl or Python), principal components to build a general purpose web server.

This is a simply and fast guide to install it. It was tested on Ubuntu 12.04 and LinuxMint 13.
Type in terminal:
sudo apt-get install tasksel
sudo tasksel
and, in the window shown, select LAMP server.
During the installation insert database password.

Your server is up!
Go to http://localhost/index.html to see a working page!

All pages are saved in /var/www/
For default LAMP will start with operating system.
To disable this type in terminal:
sudo update-rc.d apache2 disable 5 4 3 2
To start the service type:
sudo service apache2 start

Nessun commento:

Posta un commento