linux将yum源配置成阿里 的yum源

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum makecache

通过以上三部配置yum加载阿里云镜像下载速度回提高很多。

你可能感兴趣的:(linux,linux,服务器,运维)