Reading time: < 1 minute
Today I’m going to show you how to install PHPMyAdmin on Ubuntu:
Follow these steps:
- Open a terminal and type
sudo apt update
to update the list of available packages on your system. - Install PHPMyAdmin by typing
sudo apt install phpmyadmin
. You will be prompted to choose the authentication method you want to use with PHPMyAdmin. Select “Apache2” and press “Enter”. - Next, you will be asked to choose the directory of your main website. Select “Yes” and press “Enter”.
- You will be prompted to configure the PHPMyAdmin database. Select “Yes” and press “Enter”.
- Now, you will be asked to provide a password for the user “phpmyadmin”. Provide a secure password and press “Enter”.
- Once the installation is complete, restart Apache by typing
sudo service apache2 restart
. - You should now be able to access PHPMyAdmin by typing “http://yourdomain/phpmyadmin” in the address bar of your web browser. Log in with the username “phpmyadmin” and the password you provided during the installation.