LAMP stands for Linux, Apache, MYSQL and PHP.
Installation of LAMP :
- Open the terminal and type the following command:
sudo apt-get install lamp-server^
- Give the administrative password and then press enter.
- It will show the following screen
- Enter the password for MYSQL root user , press tab and hit Enter.It will install apache2 as well as php.
- Repeat the password for MYSQL.
- To install phpmyadmin, type the following command:
sudo apt-get install libapache2-mod-auth-mysql phpmyadmin
- It will show the following screen,select apache2 by pressing spacebar key, then press tab and hit enter,it will then install phpmyadmin.
- Next screen will come up, choose ‘yes’ and press Enter.
- Give the password for database’s administrative user.
- Give password for phpmyadmin
- Repeat the password for phpmyadmin
- phpmyadmin is now installed.