centos6.4更新163源

1.备份现在的源文件

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

2.下载163源

cd /etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

3.把下载文件改成源文件

mv CentOS6-Base-163.repo CentOS-Base.repo

4.更新列表

yum makecache

5.更新系统

yum update

本文为原创文章,转载请注明出处。

原文链接:https://850406.xyz/post/centos6-4更新163源

评论(0)

还没有评论,来抢沙发吧~

验证码