Saturday, August 9, 2014

Install phpMyAdmin in CentOS

The easiest way to install phpMyAdmin is using EPEL Repositories.

Add EPEL repositories to your yum source by downloading a configuration file from the repository.

wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Install the package running the following command

rpm -ivh epel-release*

Then run the following command

yum install phpmyadmin

You may be asked to confirm once or twice, and then the packages will be installed.

Note: You need to have apache and MySQL installed in your system to access phpMyAdmin.

Now configure phpMyAdmin and allow IPs from where you want to access phpMyAdmin.

check the the following file to Allow/Deny Ips

/etc/httpd/conf.d/phpMyAdmin.conf

Now Access http://YOUR_IP/phpmyadmin

No comments:

Post a Comment