Zabbix部署-LNMP环境
一.环境
Server:CentOS-7-x86_64-1511
Client:Win7 x86_64, Chrome/Firefox浏览器
二.准备
1. iptables
CentOS7默认自带firewall,无iptables。
#停止firewall
[root@localhost ~]# systemctl stop firewalld.service#禁止firewall开机启动
[root@localhost ~]# systemctl disable firewalld.service#安装iptables
[root@localhost ~]# yum install iptables-services -y#参照开放22号端口的规则,添加两行规则开放80/3306两个端口
[root@localhost ~]# vim /etc/sysconfig/iptables