centos7的yum.repos.d文件夹文件,换到阿里云

Posted by he; tagged with none

centos不维护了,现在安装东西非常麻烦。

备份后清空文件夹。然后下载阿里云的源文件。

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

替换到阿里云的源。

11218.jpg

- 本文完 -