Centos7换阿里源

​https://developer.aliyun.com/mirror/​

打开开源镜像中心

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

下载完后

yum clean all
yum makecache
发表评论

相关文章