1. 程式人生 > >Zabbix3.4之安裝篇(一)

Zabbix3.4之安裝篇(一)

entos agent roo zabb com serve arc centos 7 mysql-

實驗環境:Centos 7
1.下載zabbix yum 文件

[root@xiaopeng /]#  cd /etc/yum.repos.d/
[root@xiaopeng /]#  rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.noarch.rpm
[root@xiaopeng yum.repos.d]#  ll zabbix.repo 
-rw-r--r-- 1 root root 410 Aug 22 04:05 zabbix.repo

2.安裝zabbix
[root@xiaopeng /]# yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent

3.下載mysql的yum 源
[root@xiaopeng yum.repos.d]# rpm -ivh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
[root@xiaopeng yum.repos.d]# ll mysql-community.repo mysql-community-source.repo 
-rw-r--r-- 1 root root 1209 Jan 29  2014 mysql-community.repo
-rw-r--r-- 1 root root 1060 Jan 29  2014 mysql-community-source.repo

4.安裝mysql
[root@xiaopeng /]# yum install mysql-server -y

5.啟動mysql
[root@xiaopeng /]# systemctl start mysqld

Zabbix3.4之安裝篇(一)