Zabbix镜像使用帮助

注意:本镜像只提供Debian/Ubuntu/CentOS/RHEL的zabbix软件包

Debian/Ubuntu用户

  • 信任zabbix的GPG公钥并新增源文件zabbix.list:
curl -fsSL https://mirrors.shuosc.org/zabbix/zabbix-official-repo.key | sudo apt-key add -
echo "deb https://mirrors.shuosc.org/zabbix/zabbix/3.4/ubuntu/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/zabbix.list
  • 最后安装
sudo apt-get update
sudo apt-get install zabbix-agent

CentOS/RHEL用户

  • 如果你是centos/redhat:
sudo tee -a /etc/yum.repos.d/zabbix.repo >> EOF
[zabbix]
name=zabbix - $basearch
baseurl=https://mirrors.shuosc.org/zabbix/zabbix/3.4/rhel/7/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://mirrors.shuosc.org/zabbix/RPM-GPG-KEY-ZABBIX
EOF
  • 最后安装:
sudo yum makecache fast
sudo yum install zabbix-agent

相关链接

Copyright © 上海大学开源镜像站 all right reserved,powered by Gitbook该文件修订时间: 2017-11-21 13:15:32

results matching ""

    No results matching ""