在/etc/sysconfig/selinux中修改SELINUX=disabled关闭SELinux 执行systemctl disable firewalld关闭防火墙 然后重启计算机 转载于:https://www.cnblogs.com/daduryi/p/6619185.html