Installing LAMP Server
- Open your Linux Terminal.
- Type: sudo apt-get install lamp-server^
- Press Enter
Checking the Installation
- Open a web browser
- Type: http://localhost/
- If your browser shows the message: “It Works” then you have successfully installed LAMP
Tasksel Method
Other than the above given method you may use the Tasksel method for installing LAMP server. Use following given commands on your Linux Terminal:
sudo apt-get install tasksel
sudo tasksel install lamp-server
PhpMyAdmin
If you need to install PhpMyAdmin for managing your website’s database:
sudo apt-get install phpmyadmin