centos 7.9 yum源
点击 2356 创建时间 2025-08-01 13:04:08
centos 2024停止维护后,镜像移动到vault.centos.org
[wudimei_com@localhost yum.repos.d]# pwd
/etc/yum.repos.d
[wudimei_com@localhost yum.repos.d]# cat ./CentOS-Base.repo
[base]
name=CentOS-7 - Base - vault.centos.org/
baseurl=https://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7
enabled=1
[updates]
name=CentOS-7 - Updates - vault.centos.org/
baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7
enabled=1
[extras]
name=CentOS-7 - Extras - vault.centos.org/
baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7
enabled=1
[wudimei_com@localhost yum.repos.d]#yum makecache