CentOS6.4配置163的yum源

CentOS系统自带的更新源的速度实在是慢,为了让CentOS6使用速度更快的YUM更新源,能够选择163(网易)的更新源。web

1.下载repo文件spa

 
 
 
 
 
 
 
 
  1. code

wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

2.备份并替换系统的repo文件orm

 
 
 
 
 
 
 
 
  1. ci

  2. get

  3. it

[root@localhost ~]# cd /etc/yum.repos.d/[root@localhost ~]# mv CentOS-Base.repo CentOS-Base.repo.bak[root@localhost ~]# mv CentOS6-Base-163.repo CentOS-Base.repo

3.执行yum源更新form

 
 
 
 
 
 
 
 
  1. class

  2. transform

[root@localhost ~]# yum clean all[root@localhost ~]# yum makecache[root@localhost ~]# yum update