禁用SELINUX #vi /etc/selinux/config 让SELINUX失效,执行如下命令: #setenforce 0 注:setenforce是Linux的selinux防火墙配置命令 执行setenforce 0 表示关闭selinux防火墙。 setenforce命令是单词set(设置)和enforce(执行)连写,另一个命令getenforce可查看selinux的状态。
时间: 2024-08-08 03:37:03
禁用SELINUX #vi /etc/selinux/config 让SELINUX失效,执行如下命令: #setenforce 0 注:setenforce是Linux的selinux防火墙配置命令 执行setenforce 0 表示关闭selinux防火墙。 setenforce命令是单词set(设置)和enforce(执行)连写,另一个命令getenforce可查看selinux的状态。