准备工作: 关闭防火墙 systemctl stop firewalld && systemctl disable firewalld 禁用selinux setenforce 0 临时关闭 sed -i "s/SELINUX=enforcing/SELINUX=Disabled/g" /etc/s ...
分类:
其他好文 时间:
2018-12-21 15:19:44
阅读次数:
215
布置服务 1.关闭防火墙 systemctl stop firewalld (永久关闭 systemctl disable firewalld.service)不建议永久关闭 2.关闭selinux setenforce 0 (永久关闭 vim /etc/selinux/config 改:SELIN ...
分类:
其他好文 时间:
2018-11-13 13:02:53
阅读次数:
194
SELinux模式的切换 enforcing(强制)permissive(宽松)disabled(禁用)与disabled模式相关的切换都需要重启getenforce 查看模式临时切换:setenforce 1|0 (1-强制,0-宽松)永久配置:/etc/selinux/config 搭建基本的W ...
分类:
其他好文 时间:
2018-11-10 15:59:39
阅读次数:
174
安装kubernetes 准备一台centos7 1) 关闭firewalld 和 selinux systemctl stop firewalld systemctl disable firewalld setenforce 0 2)安装etcd和kubernetes yum install -y ...
分类:
移动开发 时间:
2018-11-03 14:12:37
阅读次数:
269
1。临时关闭防火墙 service iptables stop (chkconfig iptables off) 临时selinux: setenforce 0 永久关闭selinux: vim /etc/sysconfig/selinux 将 SELINUX=disabled 2. 加载httpd ...
分类:
Web程序 时间:
2018-10-28 11:27:35
阅读次数:
145
克隆VMware 1、 关闭防火墙 2、 关闭selinux 3、 删除UUID和Mac地址 4、清空网卡缓存 5、关机 关闭防火墙 #service iptables stop #chkconfig iptables off 关闭selinux #setenforce 0 #vim /etc/sy ...
分类:
系统相关 时间:
2018-10-23 14:57:00
阅读次数:
143
第一章 1.创建项目存放目录 mkdir /root/sproot -p 2.准备好Spring Boot应用程序 jar 包 testrest.jar 第二章 1. 安装docker 在所有节点执行: setenforce 0 iptables -F iptables -t nat -F ipta ...
分类:
编程语言 时间:
2018-10-18 18:06:34
阅读次数:
204
步骤要点: 一、关闭Linuxselinux: 操作方式: 1.永久关闭:打开/etc/selinux/config文件,设置SELINUX=disabled,注意,不是SELINUXTYPE=disabled(否则重启后无法进入linux)。 2.临时关闭,不用重启:setenforce 0 #设 ...
分类:
Web程序 时间:
2018-10-05 23:26:17
阅读次数:
393
解决: setenforce: SELinux is disabled 那么说明selinux已经被彻底的关闭了 如果需要重新开启selinux,请按下面步骤: vi /etc/selinux/config 更改为:SELINUX=1 必须重启linux,不重启是没办法立刻开启selinu ...
分类:
系统相关 时间:
2018-10-01 12:54:39
阅读次数:
621
PHP源码安装 setenforce 0 安装php时的报错checking libxml2 install dir... nochecking for xml2-config path...configure: error: xml2-config not found. Please check ...
分类:
Web程序 时间:
2018-10-01 11:09:07
阅读次数:
202