Zabbix4.0國內下載源


 

國內zabbix源總結

目前發現的有以下幾個站點:
1.阿里巴巴開源鏡像站(推薦使用)
地址:https://mirrors.aliyun.com/zabbix/
2.華為開源鏡像站(推薦使用)
地址:https://mirrors.huaweicloud.com/zabbix/
3.清華大學開源軟件鏡像站
地址:https://mirror.tuna.tsinghua.edu.cn/zabbix/
4.上海大學開源鏡像站
地址:https://mirrors.shu.edu.cn/zabbix/

 RHEL7/CentOS7

cat <<EOF > /etc/yum.repos.d/zabbix.repo 
[zabbix]
name=Zabbix Official Repository - \$basearch
baseurl=https://mirrors.aliyun.com/zabbix/zabbix/4.0/rhel/7/\$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

[zabbix-non-supported]
name=Zabbix Official Repository non-supported - \$basearch 
baseurl=https://mirrors.aliyun.com/zabbix/non-supported/rhel/7/\$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
gpgcheck=1
EOF

 添加gpgkey

curl https://mirrors.aliyun.com/zabbix/RPM-GPG-KEY-ZABBIX-A14FE591 \
-o /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

curl https://mirrors.aliyun.com/zabbix/RPM-GPG-KEY-ZABBIX \
-o /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX

 添加之后即可使用

yum makecache -y
yum install zabbix-<...>

 Ubuntu 16.04

cat > /etc/apt/sources.list.d/zabbix.list << EOF
deb https://mirrors.aliyun.com/zabbix/zabbix/4.0/ubuntu xenial main
deb-src https://mirrors.aliyun.com/zabbix/zabbix/4.0/ubuntu xenial main
EOF

 添加key

curl -o - "https://mirrors.aliyun.com/zabbix/zabbix-official-repo.key" | apt-key add -

 更新源,安裝相關包

apt-get update
apt-get install -y zabbix-<...>

 轉自:https://blog.cactifans.com/2019/01/21/Zabbix%E5%9B%BD%E5%86%85%E6%BA%90%E4%BD%BF%E7%94%A8/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM