From 7dfa3980f6b6a4b7ce8f10f540e10cd75deab376 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Sun, 19 May 2019 20:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zabbix_agent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix_agent.sh b/zabbix_agent.sh index 429656d..6f53a64 100755 --- a/zabbix_agent.sh +++ b/zabbix_agent.sh @@ -71,7 +71,7 @@ function debian7(){ } function zabbix4(){ - wget http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm + rpm -ivh http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm yum -y install zabbix-agent #开机启动 systemctl enable zabbix-agent.service