第一种(暂时): # setenforce 0第二种(永久):# sed -i "s/^SELINUX\=enforcing/SELINUX\=disabled/g" /etc/selinux/config(把enforcing改成disabled)