临时关闭selinux,可执行:

setenforce 0  // 设置selinux状态 1启用,0警告、不启用。

getenforce   //检查selinux状态是否生效

SELinux 关闭方法 

永久关闭selinux功能:

         cat /etc/selinux/config

         cp /etc/selinux/config /etc/selinux/config.root

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

SELinux 关闭方法 

相关文章:

  • 2022-12-23
  • 2022-01-12
  • 2021-09-12
  • 2021-08-29
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-02-24
  • 2022-12-23
  • 2021-07-21
  • 2021-05-30
  • 2021-10-26
相关资源
相似解决方案