沒有可用軟件包 zabbix-server-mysql


國內zabbix源

阿里巴巴開源鏡像站
https://mirrors.aliyun.com/zabbix/
華為開源鏡像站
https://mirrors.huaweicloud.com/zabbix/
清華大學開源軟件鏡像站
https://mirror.tuna.tsinghua.edu.cn/zabbix/
上海大學開源鏡像站
https://mirrors.shu.edu.cn/zabbix/

 

添加yum源

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

 

添加密鑰

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

 

安裝zabbix

yum install -y zabbix-server-mysql zabbix-web-mysql zabbix-agent


免責聲明!

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



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