Loading
0

CentOS 7使用阿里云yum源

备份:

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

下载:

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

重建缓存:

yum makecache

参考:

最后编辑于:2023/2/2作者: joycode

我不入地狱,谁入地狱?

评论已关闭