1、查看 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 2、临时关闭 ##设置SELinux 成为permissive ...
安全增强型Linux Security Enhanced Linux 简称SELinux,它是一个 Linux 内核模块,也是Linux的一个安全子系统。为了避免安装过程出现各种错误,建议关闭,有如下两种关闭方法: 临时关闭 不建议使用 但是这种方式只对当次启动有效,重启机器后会失效。 永久关闭 建议使用 修改配置文件 etc selinux config 将SELINUX enforcing 改 ...
2019-08-14 10:51 0 2881 推荐指数:
1、查看 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 2、临时关闭 ##设置SELinux 成为permissive ...
查看 临时关闭 永久关闭 将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效 ...
[root@localhost ~]# getenforce getenforce查看selinux的状态 状态:开启(Enforcing),关闭(Permissive) [root@localhost ~]#vim /etc/selinux/conf SELINUX ...
https://www.cnblogs.com/Hi-blog/p/How-To-Disable-Firewall-And-Selinux-On-CentOS7.html # 查看防火墙状态 ● firewalld.service - firewalld - dynamic ...
防火墙的开启和关闭: 查看防火墙状态 systemctl status firewalld #Active: inactive (dead) --表示防火墙已经关闭 临时关闭防火墙 systemctl stop firewalld 临时打开防火墙 systemctl ...
本文将简单介绍在CentOS7上如何临时和永久关闭防火墙和selinux。 关闭防火墙 关闭Selinux ...
CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下 1、直接关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable ...
直接上命令 在root用户下 systemctl stop firewalld systemctl disable firewalld systemctl status firewalld vi /etc/selinux/config 把SELINUX=enforcing 改成 SELINUX ...