centos 国内源
来源:互联网 发布:windows defender win7 编辑:程序博客网 时间:2024/06/13 06:20
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
或者
curl -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
或者
curl -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
或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
3、之后运行yum makecache生成缓存
- centos国内的源
- centos配置国内源
- Centos国内下载源
- centos 国内源
- 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源
- Centos配置国内yum源
- 【平台经济】中驰车福张后启:B2B是垂直产业的供应链再造 终局是建成一个M2b生态平台
- 查看本机IP地址
- jdk实现高性能异步线程开启
- 常用端口说明
- ios-RegexKitLite框架的简单使用
- centos 国内源
- Sublime按ctrl+shift+f打不开在文件中搜索功能
- MVP做二级购物车
- mt6735 Google Play Music如何使用?
- 11.UE4中类的继承进阶
- python . 数据分析1 数据的预处理
- support vector classify(SVC)支持分类机做二分类的,找出分类面,解决分类问题
- TortoiseGit基本操作
- C++ 读取目录下的所有图片