Zabbix4.0国内下载源

1

2

3

4

5

6

7

8

9

10

11

国内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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

vi /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

 添加gpgkey

1

2

3

4

5

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

 添加之后即可使用

1

2

yum makecache -y

yum install zabbix-<...>

 Ubuntu 16.04

1

2

3

4

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

1

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

 更新源,安装相关包

1

2

apt-get update

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

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值