How To Install phpMyAdmin 4.2.3 On Ubuntu, Linux Mint, Pinguy OS, Elementary OS And Their Derivative Systems

Hello Linux Geeksters. As you may know, phpMyAdmin is an open-source tool for administrating MySQL, MariaBD and Dizzle databases, written in PHP. Among others, it enables the users to easily manage databases, tables, relations, indexes, users, columns, ect via the user interface. The latest version avalable is phpMyAdmin 4.2.3, which has been released a while ago.

In this article I will show you how to install phpMyAdmin 4.2.3 on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya, Pinguy OS 14.04, Pinguy OS 12.04, LXLE 14.04, Elementary OS 0.3 Isis, Elementary OS 0.2 Luna and their derivative systems.

Because it is available via PPA, installing phpMyAdmin 4.2.2 on the listed Ubuntu, Linux Mint, Pinguy OS and Elementary OS systems is easy. All you have to do is install the apache2, php5 and mysql packages,  add the ppa to your system, update the local repository index and install the phpmyadmin package. Like this:

$ sudo apt-get install apache2 php5 mysql-server
$ sudo add-apt-repository ppa:tuxpoldo/phpmyadmin
$ sudo apt-get update
$ sudo apt-get install phpmyadmin

Follow the instructions from the graphical user interface, select the desired webserver (apache or lightppd), configure the phpMyAdmin database, set the admin password and the mysql administration password.

After the installation has been performed successfully, do:

$ sudo sh -c 'echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf'

And restart the apache2 service:

$ sudo service apache2 restart

And that’s it. To  launch phpMyAdmin, open your browser and type http://localhost/phpmyadmin as URL and login with the chosen username and password.

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!
3 comments on “How To Install phpMyAdmin 4.2.3 On Ubuntu, Linux Mint, Pinguy OS, Elementary OS And Their Derivative Systems
  1. Jose says:

    Man, you saved my life, I am using Elementary Os Luna, and I had followed all the tutorial, except one, the last part, It had an error:

    eligio@jose:~$ sudo sh -c ‘echo “Include /etc/phpmyadmin/apache.conf” >> etc/apache2/apache2.conf’
    sh: 1: cannot create etc/apache2/apache2.conf: Directory nonexistent

    So, I have access(root) to the “etc/apache2/apache2.conf” file and I had edit it putting this “Include /etc/phpmyadmin/apache.conf” and save it, all work great.

    (sorry for my english)

  2. Victor says:

    Thank you Thank you mate, have been looking for this! 🙂

  3. Chocho says:

    Thanks, it works

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!