1、关闭firewalld,安装iptables-server并启动服务 systemctl stop firewalld systemctl disable firewalld yun -y install iptables-server yum -y install iptables-serve ...
分类:
其他好文 时间:
2019-11-01 18:54:12
阅读次数:
130
【MySQL+keepalived】用keepalived实现MySQL主主模式的高可用 https://www.jianshu.com/p/8694d07595bc https://www.jianshu.com/p/8694d07595bc 一、实验说明 MySQL主主模式,是两台MySQL数据 ...
分类:
数据库 时间:
2019-11-01 10:00:05
阅读次数:
125
查看一个masquerade状态,查询命令如下: firewall-cmd --query-masquerade 假如查到结果为no那么就启动它(加--permanent是永久) firewall-cmd --add-masquerade --permanent 现在准备工作好了,假如我们要把当前D ...
分类:
其他好文 时间:
2019-11-01 09:39:20
阅读次数:
88
各节点均需要都关闭selinux和防火墙firewalld,并把防火墙自启取消命令:#设置关闭selinux和防火墙,立即生效setenforce0&&systemctlstopfirewalld&&systemctldisablefirewalld各节点均需要修改hosts文件命令:vi/etc/hosts192.168.80.100k8s-master.mfyx
分类:
Web程序 时间:
2019-10-31 19:00:25
阅读次数:
141
CentOS7默认的防火墙不是iptables,而是firewalle#先检查是否安装了iptablesserviceiptablesstatus#安装iptablesyuminstall-yiptables#升级iptablesyumupdateiptables#安装iptables-servicesyuminstalliptables-services禁用/停止自带的firewalld服务#停
分类:
其他好文 时间:
2019-10-31 18:41:08
阅读次数:
283
服务器端配置 1.关闭防火墙,以及设置开启不自启 [root@localhost network-scripts]# systemctl stop firewalld [root@localhost network-scripts]# systemctl disable firewalld Remo ...
分类:
其他好文 时间:
2019-10-31 18:38:42
阅读次数:
280
1.安装依赖包 //一键安装上面四个依赖yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel2.下载并解压安装包 //创建一个文件夹cd /usr/localmkdir nginxcd nginx//下载tar包wge ...
分类:
系统相关 时间:
2019-10-31 13:52:48
阅读次数:
115
一、开启网络功能(后面的ifcfg-ens33自身系统不同) vi /etc/sysconfig/network-scripts/ifcfg-ens33 ONBOOT=yes 二、关闭防火墙 systemctl disable firewalld systemctl stop firewalld 三 ...
分类:
系统相关 时间:
2019-10-31 10:46:57
阅读次数:
103
一、iptables防火墙(需要安装防火墙sudo apt-get install firewalld命令查看插件)1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptab ...
分类:
系统相关 时间:
2019-10-30 18:50:15
阅读次数:
128