CentOS 6.0安装phpMyAdmin的简单步骤
2013-06-25 17:24
375 查看
http://database.51cto.com/art/201108/287961.htm
phpMyAdmin是一个Web界面,通过它可以管理你的MySQL数据库。那么怎么在CentOS 6.0安装phpMyAdmin呢?本文我们就来介绍这一安装过程,希望能够对您有所帮助。
首先,我们使我们的CentOS系统的RPMForge软件库phpMyAdmin,不是官方的CentOS 6.0库,导入rpmforge的GPG密钥:
x86_64 系统安装命令:
i386 系统安装命令:
现在可以安装phpMyAdmin如下:
现在,我们配置phpMyAdmin。改变Apache的配置,使phpMyAdmin连接,而不仅仅是从localhost(注释掉允许) :
下一步,我们改变在phpMyAdmin的身份验证cookie ,HTTP:
重新启动Apache:
之后,您可以根据访问phpMyAdmin http://192.168.0.100/phpmyadmin/管理数据库了。
本文我们就介绍到这里了,希望本次的介绍能够对您有所帮助。
phpMyAdmin是一个Web界面,通过它可以管理你的MySQL数据库。那么怎么在CentOS 6.0安装phpMyAdmin呢?本文我们就来介绍这一安装过程,希望能够对您有所帮助。
首先,我们使我们的CentOS系统的RPMForge软件库phpMyAdmin,不是官方的CentOS 6.0库,导入rpmforge的GPG密钥:
rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
x86_64 系统安装命令:
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
i386 系统安装命令:
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
现在可以安装phpMyAdmin如下:
yum install phpmyadmin
现在,我们配置phpMyAdmin。改变Apache的配置,使phpMyAdmin连接,而不仅仅是从localhost(注释掉允许) :
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
下一步,我们改变在phpMyAdmin的身份验证cookie ,HTTP:
vi /usr/share/phpmyadmin/config.inc.php[...] /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = ‘http’; [...]
重新启动Apache:
/etc/init.d/httpd restart
之后,您可以根据访问phpMyAdmin http://192.168.0.100/phpmyadmin/管理数据库了。
本文我们就介绍到这里了,希望本次的介绍能够对您有所帮助。
相关文章推荐
- CentOS 6.0安装phpMyAdmin的简单步骤
- CentOS 6.0安装phpMyAdmin的简单步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP+phpmyadmin)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP+phpMyAdmin) 安装步骤
- CentOS 安装phpMyAdmin的简单步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP+phpMyAdmin) 安装步骤
- 阿里云CentOS 6.3安装phpMyAdmin的简单步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- linux(CentOS)安装mysql简单步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 phpMyAdmin-3.4.8-all-languages 安装
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- 【转】CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤