zabbix_agent YUM源配置

wget http://repo.zabbix.com/zabbix/3.0/rhel/5/x86_64/zabbix-release-3.0-1.el5.noarch.rpm

rpm -ivh zabbix-release-3.0-1.el5.noarch.rpm

yum -y install zabbix-agent

 /srv/salt/base/zabbix/   #yum源路径

[zabbix]                #zabbix   yum源!
name=Zabbix Official Repository - $basearch
baseurl=http://repo.zabbix.com/zabbix/3.0/rhel/5/$basearch/     #根据系统版本变动
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX

[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=http://repo.zabbix.com/non-supported/rhel/5/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
gpgcheck=1

posted @ 2018-06-08 18:32  Mr&Yu  阅读(2534)  评论(0编辑  收藏  举报