Install phpMyAdmin on Red Hat / CentOS

  1. Install epel release.
    $ sudo yum install -y epel-release
  2. Install and configure phpmyadmin package via yum.
    1. Install phpmyadmin. </code>
      $ sudo yum install -y  phpmyadmin
  3. Edit configuration files for further configuration if necessary

    Apache configuration file.

    /etc/apache2/conf-enabled/phpmyadmin.conf

    phpMyAdmin configuration file.

    /etc/phpmyadmin/config.inc.php
  4. Access phpMyAdmin from web browser.
    curl 127.0.0.1/phpmyadmin