CentOS6.5 configure 163 image source and Sohu yum Image Source
The download speed of the image source that comes with centos is really worrying. Think about how to change it to a domestic version.
This article is mainly written by Netease. Of course, there are image sources provided by Sohu in China, which are also provided by several universities.
It is said that NetEase is a China Telecom line and Sohu is a China Unicom line.
Here we mainly introduce the modification method of Netease 163. Sohu's modification method is similar to this.
Netease source image help address: http://mirrors.163.com/.help/centos.html
Image Source Sohu help address: http://mirrors.sohu.com/help/centos.html
Step 1: Download the repo File
Cd/etc/yum. repos. d // switch to the configuration directory wgethttp: // mirrors.163.com/.help/centos6-base-163.repo//download the repofile
Use this for centos5.X:
Wget http://mirrors.163.com/.help/centos5-base-163.repoof course, you can also manually configure
Repo file description see http://unun.in/linux/16.html
Step 2: Back up and replace the system's repo File
Mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.backup // back up the original repo file mvCentOS6-Base-163.repoCentOS-Base.repo // rename the downloaded file
Step 3: Execute yum source update
Yumcleanallyummakecache // This step must have
Update the system. This step is not required.
Yumupdate