欢迎来到云服务器

系统配置

如何关闭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
腾讯云代理

Copyright © 2003-2021 MFISP.COM. 国外vps服务器租用 梦飞云服务器租用 版权所有 粤ICP备11019662号