Installing phpMyAdmin

Here I am going to post some steps in order to install phpMyAdmin.

1
sudo apt-get install phpmyadmin

Once the process starts up, follow these steps:
* Select Apache2 for the server
* Choose YES when asked about whether to Configure the database for phpmyadmin with dbconfig-common
* Enter your MySQL password when prompted
* Enter the password that you want to use to log into phpmyadmin

After completion of installation, you need to add ‘phpmyadmin’ to the apache configuration.

1
sudo gedit /etc/apache2/apache2.conf

Add the line to at the end of apache config file.

1
Include /etc/phpmyadmin/apache.conf

Restart apache:

1
sudo service apache2 restart

Congrats!!!
You have installed the phpMyadmin.
You can access it using url localhost/phpmyadmin in the browser.

Comments