关闭selinux

  • 永久关闭selinux
    将/etc/sysconfig/selinux和/etc/selinux/config中的SELINUX=enforcing改为SELINUX=disabled

  • 临时关闭selinux
    $ setenforce 0