yum或者dnf makecache一直超时

因为是被qian了,这个适合需要更新地址,比如zabbix可以替换成清华的地址

 

[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.4/rhel/8/$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 - $basearch
#baseurl=http://repo.zabbix.com/non-supported/rhel/8/$basearch/
#enabled=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
#gpgcheck=1

posted @ 2022-06-09 20:39  鸾舞春秋  阅读(601)  评论(0编辑  收藏  举报