前言

操作系统为Centos

[root@ops ~]# uname -a
Linux ops.cluster105.cc 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@ops ~]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

部署zabbix

部署zabbix源

rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all
yum makecheck
 1 [root@ops ~]# cat /etc/yum.repos.d/zabbix.repo 
 2 [zabbix]
 3 name=Zabbix Official Repository - $basearch
 4 baseurl=https://repo.huaweicloud.com/zabbix/zabbix/5.0/rhel/7/x86_64/
 5 enabled=1
 6 gpgcheck=1
 7 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
 8 
 9 [zabbix-frontend]
10 name=Zabbix Official Repository frontend - $basearch
11 baseurl=https://repo.huaweicloud.com/zabbix/zabbix/5.0/rhel/7/x86_64/frontend
12 enabled=1
13 gpgcheck=1
14 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
15 
16 [zabbix-debuginfo]
17 name=Zabbix Official Repository debuginfo - $basearch
18 baseurl=https://repo.huaweicloud.com/zabbix/zabbix/5.0/rhel/7/x86_64/debuginfo/
19 enabled=0
20 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
21 gpgcheck=1
22 
23 [zabbix-non-supported]
24 name=Zabbix Official Repository non-supported - $basearch
25 baseurl=https://repo.huaweicloud.com/zabbix/zabbix/5.0/rhel/7/x86_64/
26 enabled=1
27 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
28 gpgcheck=1
29 
30 
31 [root@ops ~]# cd /etc/pki/rpm-gpg/
32 [root@ops rpm-gpg]# wget https://repo.huaweicloud.com/zabbix/RPM-GPG-KEY-ZABBIX-A14FE591
华为云zabbix源

相关文章:

  • 2021-10-11
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
猜你喜欢
  • 2022-01-19
  • 2021-04-03
  • 2021-07-08
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
相关资源
相似解决方案