1.安装apache

yum -y install httpd httpd-devel

2.安装phpmyadmin

yum -y -install phpmyadmin

3.配置phpmyadmin

修改/etc/httpd/conf.d/phpmyadmin.conf

<Directory "/usr/share/phpmyadmin">  
  Order Deny,Allow  
#  Deny from all  
  Allow from All  
</Directory>

4.重启httpd服务

service httpd restart

 

posted on 2016-08-01 16:08  芒果-Vic  阅读(186)  评论(0编辑  收藏  举报