PhpMyAdmin is a Web interface that allows you to manage your MySQL database. So how can I install phpMyAdmin in CentOS6.0? This article introduces the installation process, hoping to help you. First, we make phpMyAdmin, the RPMForge software library of our CentOS system, not the official CentOS6.0 Library. import the GPG Key of rpmforge: rpm-importhttp ://
PhpMyAdmin is a Web interface that allows you to manage your MySQL database. So how can I install phpMyAdmin in CentOS 6.0? This article introduces the installation process, hoping to help you.
First, let's import the GPG Key of RPMForge from the official CentOS 6.0 Library phpMyAdmin:
Rpm-import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
X86_64 system installation command:
Yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
I386 system installation command:
Yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
You can install phpMyAdmin as follows:
Yum install phpmyadmin
Now, we configure phpMyAdmin. Change Apache configuration to connect phpMyAdmin, not just from localhost (comment out allow ):
Vi/etc/httpd/conf. d/phpmyadmin. conf
#
# Web application to manage MySQL
#
#
# Order Deny, Allow
# Deny from all
# Allow from 127.0.0.1
#
Alias/phpmyadmin/usr/share/phpmyadmin
Alias/phpMyAdmin/usr/share/phpmyadmin
Alias/mysqladmin/usr/share/phpmyadmin
Next, we change the authentication cookie in phpMyAdmin, HTTP:
Vi/usr/share/phpmyadmin/config. inc. php [...]
/* Authentication type */
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
[...]
Restart Apache:
/Etc/init. d/httpd restart
Then, you can access phpMyAdmin http: // 192.168.0.100/phpmyadmin/to manage the database.
We will introduce this article here, and hope this introduction will help you.