2009
10.27

phpmyadmin isn’t in the default installed yum repositories. Therefore we have to enable a repository that does contain phpmyadmin. EPEL is such a repository. See here how to enable EPEL.

After that it’s really simple:

yum install phpmyadmin
cd /etc/httpd/conf.d/
nano phpMyAdmin.conf

and change allow from 127.0.0.1 to allow from 127.0.0.1 192.168.1.0/24 (for example)

then:

service httpd reload
service mysqld restart

and browse http://192.168.1.1/phpmyadmin

2009
10.27

If you are looking for various popular packages (phpmyadmin) to install in CentOS but you do not find them in the default installed yum repositories, then you can add the Fedora EPEL (Extra Packages for Enterprise Linux) repositories.

rpm -Uvh \
http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
yum update

References:

  1. Daemon’s corner