我要评分
获取效率
正确性
完整性
易理解

Disabling SELinux

To simplify the deployment process and improve deployment efficiency, disable SELinux on all nodes.

  • Disable SELinux temporarily.
    setenforce 0
  • Disable SELinux permanently.

    To disable SELinux permanently, restart the server for the setting to take effect.

    sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config