一、源碼包下載地址:https://www.zabbix.com/download_sources
html
二、下載完後上傳在任意目錄用root用戶建立如下腳本server_ip爲服務端ip而後執行。python
1
2
3
4
5
6
7
8
9
|
groupadd zabbix
useradd
-
g zabbix zabbix
yum install
-
y gcc
*
pcre
*
tar
-
xf zabbix
-
4.0
.
3.tar
.gz
cd zabbix
-
4.0
.
3
.
/
configure
-
-
enable
-
agent
make install
sed
-
i
's/127.0.0.1/10.90.6.86/g'
/
usr
/
local
/
etc
/
zabbix_agentd.conf
/
usr
/
local
/
sbin
/
zabbix_agentd
|
官方安裝文檔:https://www.zabbix.com/documentation/4.0/manual/installation/installpost