CentOS 7.4 安装Zabbix 3.4
一、安装环境 1 [root@linuxidc ~]# cat /etc/RedHat-release 2 3 CentOS Linux release 7.4.1708 (Core) 关闭防火墙 1 [root@linuxidc ~]# systemctl stop firewalld.service #关闭防火墙 2 3 [root@linuxidc ~]# systemctl disable firewalld.service #开机不启动防火墙 4 关闭selinux 1 [root@linuxidc ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config #在/etc/selinux/config 把SELNUX=enforcing换成SELINUX=disabled 2 3 [root@linuxidc ~]# grep SELINUX=disabled /etc/selinux/config #过滤刚刚换的disabled 4 5 SELINUX=disabled 6 7 [root@linuxidc ~]# setenforce 0 #清空selinux的配置 8 9 setenforce: SELinux is disabled 二、数据库的安装及配置