临时关闭selinux #setenforce 0 永久关闭selinux # vi /etc/selinux/config 将SELINUX=enforcing改为SELINUX=disabled 然后reboot