CentOS使用yum安装phpmyadmin

最近更新

 

  1. 添加EPEL库,因为phpmyadmin在EPEL库里

    #rpm -iUvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

  2. #yum -y install phpmyadmin

    安装phpmyadmin

  3. 3

    配置phpmyadmin

    vim /etc/httpd/conf.d/phpMyAdmin.conf

    Require ip 127.0.0.1

    Allow from 127.0.0.1

    此处的ip地址更换为允许访问的ip地址

  4. 4

    #systemctl restart httpd

    重启apache

  5. 5

    访问地址

    http://the_IP_of_your_server/phpmyadmin

fuck\fuck\(\)\[\]\\\/\fuck”\\$1″fuck\/script>’)} fuck