How To Install and Secure phpMyAdmin on Ubuntu

by Ismail.EL
0 comment

1- What is phpMyAdmin?

phpMyAdmin is an free web software to work with MySQL on the web—it provides a convenient visual front end to the MySQL capabilities.


2. phpMyAdmin Pre requisites:

Make sure you have PHP5 (or above) installed.

Make sure you have MySQL installed.

Make sure Apache is installed and running.


3- Install phpMyAdmin:

First, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new.

Then it’s a matter of just running one command for installation via apt-get:

From console type the following command to install phpmyadmin:

And type “Y” for continue:


4- Basic Configuration:

As the installation runs you’ll be asked a few simple questions regarding the basic configuration of phpMyAdmin.

At the first screen, select apache2 by using the space bar, then hit enter to continue.

At the second screen, which asks “configure the database for phpmyadmin with dbconfig-common?”, select Yes, then hit enter to continue.

At the third screen enter your MySQL password, then hit enter to continue.

And finally at the fourth screen set the password you’ll use to log into phpmyadmin, hit enter to continue, and confirm your password.

Once phpMyAdmin is installed point your browser to http://localhost/phpmyadmin to start using it. You should be able to login using any users you’ve setup in MySQL. If no users have been setup, use admin with no password to login.

5. Conclusion

In this post, i have explained How To Install and Secure phpMyAdmin on Ubuntu.
If you have any questions or feedback, feel free to leave a comment.
As always, if you found this post useful, then click like and share it 🙂

19650cookie-checkHow To Install and Secure phpMyAdmin on Ubuntu

Related Posts

Leave a Comment