CentOS 7 开放防火墙端口 命令 最近公司新的server要求用CentOS7, 发现以前CentOS 6 系列中的 iptables 相关命令不能用了,查了下,发现Centos 7使用firewalld代替了原来的iptables。 使用方法如下: >>> 关闭防火墙 systemctl s ...
分类:
其他好文 时间:
2017-04-04 14:08:55
阅读次数:
189
原文地址:http://www.itnpc.com/news/web/1484025256154172.html 一、环境搭建 master安装的组件有: docker etcd 可以理解为是k8s的数据库,存储所有节点、pods、网络信息 kube-proxy 提供service服务的基础组件 k ...
分类:
Web程序 时间:
2017-03-29 15:47:08
阅读次数:
498
脚本自动部署构架集群和监控状态 shell脚本编写自动部署、初始配置、并启动nginx反向代理服务 自动部署、初始配置、并启动三台web 编写监控脚本,监控集群中nginx、nfs以及机器运行状况。异常则发送报警邮件 ...
分类:
其他好文 时间:
2017-03-26 01:14:50
阅读次数:
290
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙步骤。 1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firew ...
分类:
其他好文 时间:
2017-03-21 16:07:09
阅读次数:
133
一、配置本地yum源 #查看yum源目录[root@centos01 ~]# ll /etc/yum.repos.d/总用量 28-rw-r--r--. 1 root root 1664 12月 9 2015 CentOS-Base.repo-rw-r--r--. 1 root root 1309 ...
分类:
系统相关 时间:
2017-03-21 15:40:29
阅读次数:
775
Centos7 环境准备 #关闭防火墙 systemctl stop firewalld systemctl disabled firewalld #关闭selinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/g'/etc/sysconfig/sel... ...
分类:
其他好文 时间:
2017-03-21 10:11:13
阅读次数:
123
linux-nginx服务nfs服务nginx反向代理三台web 一:nginx服务 1、二进制安装nginx包 [root@bogon ~]# systemctl disable firewalld #关闭Firewalls自启动 Removed symlink /etc/systemd/syst ...
分类:
Web程序 时间:
2017-03-20 20:41:47
阅读次数:
446
在RHEL7里有几种防火墙共存:firewalld、iptables、ebtables,默认是使用firewalld来管理netfilter子系统,不过底层调用的命令仍然是iptables等。firewalld跟iptables比起来至少有两大好处:1、firewalld可以动态修改单条规则,而不需要像iptables那样,在修改了规则后必须得全..
分类:
其他好文 时间:
2017-03-03 19:37:59
阅读次数:
215
CentOS 7安装zabbix3.0 一、环境介绍 # systemctl stop firewalld # setenforce 0 # yum -y install unzip vim net-tools lrzsz Zabbix 需要依赖LAMP/LNMP环境 # yum -y instal ...
分类:
其他好文 时间:
2017-02-22 21:19:02
阅读次数:
345
1、firewalld的基本使用启动: systemctl start firewalld查看状态: systemctl status firewalld停止: systemctl disable firewalld禁用: systemctl stop firewalld 2.systemctl是C ...
分类:
系统相关 时间:
2017-02-19 20:16:56
阅读次数:
775