在CentOS 7上使用Yum源安裝 Zabbix 3.2
在CentOS 7上使用Yum源安裝 Zabbix 3.2
1. 環境準備
[[email protected] ~]# setenforce 0 [[email protected] ~]# sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config [[email protected] ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 [[email protected] ~]# yum install epel-release.noarch wget vim gcc gcc-c++ lsof chrony tree nmap unzip rsync -y [[email protected]
2. LAMP安裝
[[email protected] ~]# yum install httpd mariadb mariadb-server mariadb-client php php-mysql [[email protected] ~]# systemctl start mariadb
3. Zabbix安裝
[[email protected] ~]# rpm -ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm [[email protected]