Install phpMyAdmin by executing the following command in your terminal:
sudo apt-get install phpmyadmin
You will be prompted with a number of questions through the installation process:
- Select apache2 as the web server of choice
- Select yes to use dbconfig-common
- Enter your MySQL administrator password
- Enter your phpMyAdmin password
Include the phpMyAdmin configuration in Apache:
Edit the apache.conf file using Nano:
sudo nano /etc/apache2/apache.conf
Go to the bottom of the file, and paste the following:
phpMyAdmin Configuration Include /etc/phpmyadmin/apache.conf
Restart Apache:
sudo service apache2 restart