配置阿里云yum源

配置国内yum源的地址

mkdir /etc/yum.repos.d/back
mv /etc/yum.repos.d/* /etc/yum.repos.d/back
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all 
yum makecache 
yum repolist
yum update

配置清华大学的yum源

参考

https://blog.csdn.net/xiaojin21cen/article/details/84726193

posted @ 2021-03-12 15:56  hanjianfei  阅读(225)  评论(0编辑  收藏  举报