It is estimated that the local source is too good. 163 of the source is still quite complete, and the speed is also very fast. Update 163 source soeasy! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ 1. download the repo File:. the code is as follows:
It is estimated that the local source is too good. 163 of the source is still quite complete, and the speed is also very fast.
Update 163 source so easy!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
1. download the repo file:
The code is as follows:
| |
Wget http://mirrors.163.com/.help/CentOS6-Base-163.repo |
// According to your own needs. I use centos 6.5.
2. back up and replace the system's repo file
The code is as follows:
| |
[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. execute the yum source update
The code is as follows:
| |
[Root @ localhost ~] # Yum clean all [root @ localhost ~] # Yum makecache [root @ localhost ~] # Yum update |