Centos下替换yum源为阿里云源
来源:互联网 发布:小智代练淘宝店网址 编辑:程序博客网 时间:2024/05/20 05:07
阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/
第一步:备份原镜像文件
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
第二步:下载CentOS-Base.repo 到/etc/yum.repos.d/
CentOS 5
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
CentOS 6
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
第三步:运行yum makecache生成缓存
yum clean all
第一步:备份原镜像文件
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
第二步:下载CentOS-Base.repo 到/etc/yum.repos.d/
CentOS 5
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
CentOS 6
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
第三步:运行yum makecache生成缓存
yum clean all
yum makecache
第四步:等待下载完成
0 0
- Centos下替换yum源为阿里云源
- Centos下替换yum源为阿里云源
- Centos下替换yum源为阿里云源
- CentOs 替换yum源为阿里云
- Centos的yum源更换为阿里云源
- 设置centos的YUM源为国内阿里云源
- Centos的yum源更换为阿里云源
- 将Centos的yum源更换为阿里云源
- 将Centos的yum源更换为阿里云
- centos更换默认yum源为阿里云
- Centos的yum源更换为国内的阿里云
- 将CentOS系统软件包yum源更新为阿里云
- 为CentOS更换阿里云的yum源
- Linux下更换为阿里yum源
- Centos阿里云服务器换yum源
- centos 6.5添加阿里云yum源
- CentOs将yum源换为阿里源
- centos更换阿里yum源
- bzoj 2555: SubString (LCT+后缀自动机)
- Android 机顶盒中获取U盘的卷标
- mybaits-spring备忘
- Xml的三种常用解析方法
- Spark updateStateByKey和mapWithState
- Centos下替换yum源为阿里云源
- 依赖注入Dagger2详解
- [分块 块的分裂 || 替罪羊树套线段树] BZOJ 3065 带插入区间K小值
- 分类算法之决策树(Decision tree)
- 分布式系统高可用设计
- IO问题及原因
- Android音频开发之使用MediaRecorder录制
- TensorFlow13: 简单的对话模型(聊天机器人)
- 面朝大海——我的2016