zabbix使用其官方仓库安装不上的问题 One of the configured repositories failed (Zabbix Official Repository - x86_64), and yum doesn’t have enough cached data to continue. At this point the only
cd /etc/yum.repos.d
[root@master ~]# vim zabbix.repo
[zabbix] name=Zabbix Official Repository - KaTeX parse error: Expected 'EOF', got '#' at position 10: basearch #̲baseurl=http://…basearch/ baseurl=https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/rhel/7/$basearch/ enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
#[zabbix-non-supported] #name=Zabbix Official Repository non-supported - KaTeX parse error: Expected 'EOF', got '#' at position 11: basearch #̲baseurl=http://…basearch/ #enabled=1 #gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX #gpgcheck=1