在CentOS 7下更改yum源与更新系统。
来源:互联网 发布:python开发入门详解 编辑:程序博客网 时间:2024/06/08 10:18
[1] 首先备份/etc/yum.repos.d/CentOS-Base.repo
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
[2] 进入yum源配置文件所在文件夹
[root@localhost yum.repos.d]# cd /etc/yum.repos.d/
[3] 下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份)
[root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
[4] 运行yum makecache生成缓存
[root@localhost yum.repos.d]# yum makecache
[5] 更新系统(时间比较久,主要看个人网速)
[root@localhost yum.repos.d]# yum -y update
阅读全文
0 0
- 在CentOS 7下更改yum源与更新系统。
- CentOS 7下更改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源与更新系统
- CentOS更改yum源与更新系统
- CentOS更改yum源与更新系统
- CentOS更改yum源与更新系统
- ios-通过Reachability监听网络状态
- fopen、fread、fwrite、fclose函数_C语言学习内容总结2017/12/5
- Agilent Model Builder Program(MBP)2016.01 CHS Win64 1CD
- Geth搭建以太坊私链环境
- 显卡、GPU和CUDA简介
- 在CentOS 7下更改yum源与更新系统。
- 来自C语言小白的日常
- jquery冒泡事件
- position的四个属性值: relative ,absolute ,fixed,static
- Source Insight 常用设置和快捷键大全
- DISCUZ_INSTALL
- Java实现简单爬虫爬取天气预报
- 【Scikit-Learn 中文文档】四十一:大规模计算的策略: 更大量的数据
- 免费制作字体软件