2.yum源配置:yum源改为阿里源(5步曲) 优势:下载速度增加

1.cd /etc/yum.repos.d 进人镜像源目录

2.mv CentOS-Basd.repo CentOS-Base.repo.bak 备份镜像文件

3.wget -O /etc/yum.repos.d/Centos-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 下载阿里源

4.yum clean all 清空缓存

5.yum makecache 重生缓存

发布了7 篇原创文章 · 获赞 2 · 访问量 87

猜你喜欢

转载自blog.csdn.net/qq_45645003/article/details/104331447