Install a LAMP (Linux-Apache-MySQL-PHP) server in Ubuntu
This is to help people setup and install a LAMP (Linux-Apache-MySQL-PHP) server in Ubuntu, including Apache 2, PHP 5 (optionally PHP 4 in Ubuntu 6.10 and lower), and MySQL 4.1 or 5.0.
When installing from the Ubuntu 6.06 (Dapper Drake) “Server cd”, you have the option of choosing to install a LAMP setup at the initial Ubuntu installation screen. That will install apache2, php5 and mysql 5.0.
As of Ubuntu 7.04 (Feisty), all PHP4 packages have been dropped from the repositories, as the PHP4 branch is not being further developed/supported by the PHP Group.
To install the default LAMP stack in Ubuntu 7.04 (Feisty Fawn) Ubuntu 7.10 (Gutsy Gibbon) Ubuntu 8.04 LTS (Hardy Heron), 8.10 (Intrepid Ibex), 9.04 (Jaunty Jackalope), 9.10 (Karmic Koala), 10.04 (Lucid Lynx) and 11.04 (Natty Narwhal)
Ubuntu 11.04 base system does not include tasksel. First You will need to install it.
1 | sudo apt-get install tasksel |
Now execute the below command to install LAMP server.
1 | sudo tasksel install lamp-server |
Discussion 4 Responses
Leave a Reply