centos系统阿里yum源配置
来源:互联网 发布:淄博恒久网络 编辑:程序博客网 时间:2024/06/06 02:50
1、备份
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2、下载新的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
CentOS 7
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
3、之后运行yum makecache生成缓存
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2、下载新的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
CentOS 7
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
3、之后运行yum makecache生成缓存
阅读全文
1 0
- centos系统阿里yum源配置
- CenTOS 配置阿里yum网络源
- centos 7配置阿里Yum源
- Linux CentOS配置yum源(阿里yum)
- 将CentOS系统软件包yum源更新为阿里云
- 配置阿里yum源
- redhat 系统 配置 CentOS的yum源
- centos更换阿里yum源
- 阿里源centos yum epel
- 配置Linux或Centos的阿里yum
- CentOS配置本地yum源/阿里云yum源/163yuan源,并配置yum源的优先级
- centos Yum源 配置
- CentOS配置yum源
- CentOS配置yum源
- centos yum源配置
- CentOs yum源配置
- Centos yum源配置
- centos yum源配置
- 多元高斯分布
- Angular单页应用&AngularJS内部实现原理
- Linux环境下使用V4L2+opencv以MJPEG格式读取USB摄像头并实时显示
- bootstrap的加载
- 【RPC框架探索】(一)ICE框架的探索
- centos系统阿里yum源配置
- 6/25作业:继承
- 欢迎使用CSDN-markdown编辑器
- React Native的字体添加问题
- Linux命令账号(用户、用户组)控制(五)
- hive中 udf函数Function开发
- <s iterator>遍历list 及取list下标
- 解决android系统进行OTA升级失败时进入recovery界面不能自动重启问题
- 1、halcon+通过高斯查找图片中的线条