How to Install phpMyAdmin on CentOS/RHEL 7/6/5 and Fedora - Easist
Awesome Tools Linux Linux Fun Tutorials

How to Install phpMyAdmin on CentOS/RHEL 7/6/5 and Fedora

phpMyAdmin is a web-based client for managing Mysql and MariaDB. This program is written in PHP itself. This I a good tool for all the users who are not very friendly with the command line and needs to manage database graphically. phpMyAdmin has been translated into almost 72 different languages across the world. Now just to get this engage a wide range of people and supports both LTR and RTL languages.

Features of phpMyAdmin:

    • Friendly web interface
    • Supported most of the MySQL features:
      • Browse and drop databases, tables, views, fields, and indexes.
      • Create, copy, drop, rename and alter databases, tables, fields, and indexes
      • Manage MySQL users and their privileges
    • Import data from CSV and SQL
    • Export data to various formats: CSV, SQL, XML, PDF, ISO/IEC 26300 – OpenDocument Text and Spreadsheet, Word, LATEX, and others
    • Administering multiple servers

Here I am going to tell you the best and smartest way to get phpMyAdmin install, up, and running on  CentOS/RHEL Systems.

Prerequisites:

Apache, PHP, and MySQL are already installed on the server. In short,  we need LAMP environment on the system. If you don’t have LAMP you can do this by reading: How To Set Up LAMP Environment With Apache MySql And PHP

Scenario:

My Server IP: 192.168.1.188
OS: CentOS/RHEL/Fedora 5/6/7

Note: If you are a SUDO user then prefix every command with sudo, like #sudo ifconfig

Step 1: Enable Remi Repository

phpMyAdmin most updated package is available under Remi repository. Install it in your system using following commands.

Step 2: Install phpMyAdmin

After adding Remi repository, install phpMyAdmin using yum package manager. All the dependencies will automatically be installed.



Step 3: Configure phpMyAdmin

phpMyAdmin by default allowed to access from localhost only. If you want to make it accessible from remote computers do following changes for making phpMyAdmin accessible within a global network.

Now, restart Apache service to reload new settings.

Step 4: Access phpMyAdmin in Browser

Now you can access phpMyAdmin in the browser using the following URL. Change to “domainname.com” eg. test.exapmle.com with your server IP/FQDN.

How To Install PhpMyAdmin On CentOS/RHEL 7/6/5 And Fedora – Easist
Congratulation’s You have successfully installed phpMyAdmin. Using single phpMyAdmin we can manage multiple MySQL servers by adding multiple remote MySQL servers.


For More understanding Watch This Video:

Subscribe on Youtube

Kapendra
Love to write technical stuff with personal experience as I am working as a Sr. Linux Admin. and every day is a learning day and Trust me being tech geek is really cool.
http://kapendra.com

Leave a Reply