1、以下俩命令都行,Disabled为关闭,enforcing为未关闭
getenforce或/usr/sbin/sestatus -v
2、设置是否关闭(将SELINUX=enforcing改为SELINUX=disabled,重启服务器生效)
vi /etc/selinux/config
3、重启服务器
reboot
getenforce或/usr/sbin/sestatus -v
2、设置是否关闭(将SELINUX=enforcing改为SELINUX=disabled,重启服务器生效)
vi /etc/selinux/config
3、重启服务器
reboot