CentOS6.5系统更改yum源为163
1、备份系统源
# cd /etc/yum.repos.d
# mv CentOS-Base.repo CentOS-Base.repo.bak
2、设置默认源为163
# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
# mv CentOS6-Base-163.repo CentOS-Base.repo
3、执行yum源更新
# yum clean all // 清除以前的缓存
# yum makecache // 重建缓存
# yum update
相关推荐
87901735 2020-08-19
ningningmingming 2020-07-26
VFCSDN 2020-07-05
87447007 2020-07-04
87447007 2020-06-26
flycappuccino 2020-09-27
yudiewenyuan 2020-06-09
wannagonna 2020-06-08
杨友山 2020-06-03
89284553 2020-05-26
lizhengfa 2020-05-02
xiemanR 2020-09-21
数据人 2020-10-26
张立军的架构之路 2020-09-28