eoiioe

如何关闭SeLinux

     1、快速关闭SElinux,使用如下命令就可以:

  /usr/sbin/setenforce 0 立刻关闭 SELINUX

  /usr/sbin/setenforce 1 立刻启用 SELINUX

  2、加到系统默认启动里面

  echo "/usr/sbin/setenforce 0" >> /etc/rc.local

     3、可以编辑配置文件达到同样的目的

     vi /etc/selinux/conf
     set SELINUX=disabled
 

 

分类:

技术点:

相关文章:

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