centos使用yum安装phpmyadmin
phpmyadmin是一个开源的mysql网页管理工具,非常实用,centos安装phpmyadmin非常方便
操作方法
- 01
添加EPEL库,因为phpmyadmin在EPEL库里 #rpm -iUvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- 02
#yum -y install phpmyadmin 安装phpmyadmin
- 03
配置phpmyadmin vim /etc/httpd/conf.d/phpMyAdmin.conf Require ip 127.0.0.1 Allow from 127.0.0.1 此处的ip地址更换为允许访问的ip地址
- 04
#systemctl restart httpd 重启apache
- 05
访问地址 http://the_IP_of_your_server/phpmyadmin
赞 (0)