1、节点规划 2、系统配置(所有机器) 关闭selinux # 临时关闭 $ setenforce 0 # 永久关闭 $ vim /etc/selinux/config SELINUX=disabled 关闭且禁用防火墙 $ systemctl stop firewalld $ systemctl ...
分类:
Web程序 时间:
2018-04-06 22:25:54
阅读次数:
1115
一、准备工作 现在有3台机器,这里以centos6.8为例,以minimal方式安装 192.168.1.101 192.168.1.102 192.168.1.103 1、在3台节点上都先关闭防火墙 iptables –F chkconfig iptables off setenforce 0 编 ...
分类:
其他好文 时间:
2018-04-05 23:10:13
阅读次数:
221
环境 系统: CentOS 7 IP: 192.168.244.144 关闭 selinux 和防火墙 # CentOS 7 $ setenforce 0 # 可以设置配置文件永久关闭 $ systemctl stop iptables.service $ systemctl stop firewa ...
分类:
其他好文 时间:
2018-04-01 16:08:13
阅读次数:
485
29.1 sestaus:显示SElinux的状态 29.2 getenforce:显示当前SELinux的应用模式 29.3 setenforce:修改SELinux的应用模式 29.4 getfattr:获取文件系统对象的文件属性 29.5 chcon:修改文件SELinux安全上下文 29.6 ...
分类:
系统相关 时间:
2018-03-28 01:36:24
阅读次数:
215
Zabbix部署安装: 系统环境:CentOS 7 Zabbix版本:Zabbix 3.4 systemctl stop firewalld && setenforce 0 rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.4/rhel/7/x8 ...
分类:
其他好文 时间:
2018-03-18 21:46:07
阅读次数:
369
Centos7安装部署zabbix3.4centos系统版本: 1、安装前需要先关闭selinux和firewall.1.1[root@zabbix ~]# vi /etc/selinux/config 将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效 [root@zabbix ~]# setenforce 0&nbs
分类:
其他好文 时间:
2018-03-09 11:12:03
阅读次数:
187
1、samba服务提供网盘,共享文件夹 搭建samba服务步骤 ①准备环境(关闭防火墙service iptables stop,关闭selinux-setenforce 0,配置ip地址) ②装软件包yum install samba -y ③修改配置文件vim /etc/samba/smb.co ...
分类:
其他好文 时间:
2018-03-06 21:46:08
阅读次数:
182
1、搭建apache服务步骤 ①准备环境(关闭防火墙service iptables stop,关闭selinux-setenforce 0,配置ip地址) ②装软件包yum install httpd -y ③修改配置文件vim /etc/httpd/conf/httpd.conf vim /et ...
分类:
Web程序 时间:
2018-03-06 20:21:23
阅读次数:
219
系统:Red Hat Enterprise Linux Server release 7.2 (Maipo)环境准备:[root@slave ~]# setenforce 0 //临时关闭selinuxsetenforce: SELinux is disabled永久关闭selinux:[root@... ...
分类:
其他好文 时间:
2018-03-05 13:48:01
阅读次数:
256
实验环境RedHat 7.4 LAMP httpd-2.4.6 php-7.2 mariadb-5.5.56 关闭防火墙 setenforce 0 systemctl stop firewalld yum install httpd* -y yum install mariadb-server –y ...
分类:
其他好文 时间:
2018-02-23 18:51:54
阅读次数:
207