yum源调整为阿里云源记录
来源:互联网 发布:付磊 武汉大学 知乎 编辑:程序博客网 时间:2024/06/11 01:26
鉴于国外的yum源经常连不上,切换成国内的yum源,我们首选阿里的
备份
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
下载新的CentOS-Base.repo 到/etc/yum.repos.d/
CentOS 6
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
CentOS 7
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
之后运行yum makecache生成缓存
yum clean allyum makecache
转载于http://blog.csdn.net/jiangguilong2000/article/details/70766832
0 0
- yum源调整为阿里云源记录
- yum源调整为阿里云源记录
- centos6更新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源更新为阿里云
- 为CentOS更换阿里云的yum源
- centos7 修改yum源为阿里源
- centos7 修改yum源为阿里源
- SparseArray和ArrayMap相关源码解析
- Git在idea上的入门使用方法
- 程序性能优化之 内存分配影响
- 激活 DTP/DSO/DATA SOURCE
- 使用IntelliJ IDEA开发SpringMVC网站(二)框架配置
- yum源调整为阿里云源记录
- Android多国语言文件夹汇总
- 《牛腩新闻发布系统》总结
- B1008. 数组元素循环右移问题 (20')
- RateLimiter接口限流
- 自己动手实现光栅化直线生成算法
- Eclipse搭建简单的Spring框架
- Android SDK 国内镜像
- 多文件上传