环境很重要、环境很重要、环境很重要 # CentOS 7 $ setenforce 0 # 可以设置配置文件永久关闭 $ systemctl stop iptables.service $ systemctl stop firewalld.service # CentOS 7 $ setenforc ...
分类:
其他好文 时间:
2018-07-07 01:12:48
阅读次数:
175
本文来源jumpserver官网 一步一步安装 环境 系统: CentOS 7 IP: 192.168.244.144 关闭 selinux 和防火墙 # CentOS 7 $ setenforce 0 # 可以设置配置文件永久关闭 $ systemctl stop iptables.service ...
分类:
其他好文 时间:
2018-07-06 19:43:13
阅读次数:
188
系统版本:CentOS Linux release 7.5.1804 (Core) nfs版本:nfs-utils-2.3.2 安装前先关闭防火墙和selinux systemctl stop firewalld setenforce 0 1、先解决依赖关系 2、下载软件、解压并编译 3、 syst ...
分类:
其他好文 时间:
2018-07-04 01:06:04
阅读次数:
733
1、selinux是否关闭。一定要关闭这个,开启selinux会引起一连串问题,甚至zabbix的discovery功能也不能正常使用关闭SELinux的方法:修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。如果不想重启系统,使用命令setenforce 0注:setenforce 1 设置SELinux 成为enfor
分类:
其他好文 时间:
2018-06-29 12:14:15
阅读次数:
222
拓扑图2.准备工作,在各个主机上调整好防火墙策略,以及setenforce参数,还有配置好各个主机的yum源3.在ansible所在的主机上,做关于其他主机的免密码登录此次命令在/root下执行,所以公钥默认保存在/root/.ssh/目录下
ssh-keygen -t rsa -P ""
ssh-copy-id -i 
分类:
其他好文 时间:
2018-06-22 17:41:16
阅读次数:
202
前提:centos能访问互联网, centos已经安装docker-ce 1、禁用防火墙 systemctl stop firewalldsystemctl disable firewalld 2、禁用SELINUX setenforce 0vi /etc/selinux/config 设置SELI ...
分类:
其他好文 时间:
2018-06-14 14:53:23
阅读次数:
2243
准备篇:1、配置防火墙,开启http服务firewall-cmd --get-servicefirewall-cmd --permanent --add-service=httpfirewall-cmd --reload#########################################################2、SELINUX设置为开放模式setenforce 0vim&n
分类:
其他好文 时间:
2018-06-09 11:39:27
阅读次数:
179
一.安装前提条件 1.关闭防火墙#systemctl disable firewalld#systemctl stop firewalld 2.关闭selinux#setenforce 0#vi /etc/selinux/config SELINUX=disabled 3.安装docker 17.0 ...
分类:
其他好文 时间:
2018-05-21 16:23:29
阅读次数:
333
关闭selinux执行完 ls -l 的权限之后,发现在9为权限的后面,还有个点。这个点的意思是受控于SELlinux,关闭SELinux之后,创建的文件就不会出现这个点。1.查看 SElinux 的状态[root@wangshaojun-01 ~]# getenforce Enforcing //开启状态2.修改为宽松状态。立即生效,重启失效。修改为宽松状态,setenforce 0。宽松状
分类:
系统相关 时间:
2018-05-09 10:12:59
阅读次数:
244
在初学linux的时候,有防火墙和selinux时,我们对于一些操作不是很方便;比如DNS的远程访问和httpd程序的操作;所以我们需要一些操作来关闭防火墙和selinux;SElinux配置: ~]# getenforce Enforcing ~]# setenforce 0 防火墙: ~]# iptables -vnL 其执行结果中如果有防火墙规则,需要进行
分类:
系统相关 时间:
2018-04-18 21:56:55
阅读次数:
231