Install phpMyAdmin on Ubuntu

In Previous Tutorial, you learned how to Setup LAMP Server on Ubuntu. Now, You have a working server on your Ubuntu PC. Lets do some work around phpMyAdmin.

If you have missed previous tutorial on How to Setup LAMP Server on Ubuntu. Follow This Link:
LAMP Server on Ubuntu : http://www.netpuppet.tk/2015/01/lamp-server-on-ubuntu.html
About 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.

Setup
Before working with phpMyAdmin you need to have LAMP installed on your server. If you don't have the Linux, Apache, MySQL, PHP stack on your server, you can find the tutorial for setting it up here.

Install phpMyAdmin
The easiest way to install phpmyadmin is through apt-get:
Open Terminal and Type :
sudo apt-get install phpmyadmin apache2-utils
 During the installation, phpMyAdmin will walk you through a basic configuration. 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 the installation has completed, add phpmyadmin to the apache configuration.
sudo nano /etc/apache2/apache2.conf
 Add the phpmyadmin config to the file.
Include /etc/phpmyadmin/apache.conf

 Restart apache:
sudo service apache2 restart

 You can then access phpmyadmin by going to:
http://localhost/phpmyadmin
 The screen should look like this


Share on Google Plus

0 comments: