Http://database.51cto.com/art/201108/287961.htm
PhpMyAdminIs a web interface that allows you to manage your MySQL database. So how can ICentos 1, 6.0What about phpMyAdmin installation? 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.