首页 > 其他 > 详细

centos的阿里云yum源设置

时间:2018-07-09 10:09:21      阅读:160      评论:0      收藏:0      [点我收藏+]

使用国内的阿里云镜像

(1)把/etc/yum.repos.d/下面所有的源给删除掉了

(2)下载镜像

1 # CentOS 5
2 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
3 # CentOS 6
4 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
5 # CentOS 7
6 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

 

centos的阿里云yum源设置

原文:https://www.cnblogs.com/huang99882008/p/9282163.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!