杨庆荣的博客

工作之余接单:公司产品展示网站建设、电商网站建设、小程序、app开发。+86 13714715608

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

上一篇: 笔记:在MX linux 23.3版中添加win10引导