Netease (163) Yum source is one of the best Yum sources in China. Both the speed and software version are very good. Set the yum source to 163yum, this can speed up the installation and update of software packages, while avoiding the failure of some common software versions. The VM instance of v9zz sets the yum source to Yum of 163 as follows:
1. Go to the yum source configuration directory.
CD/etc/yum. Repos. d
2. Yum source provided by the backup system
MV CentOS-Base.repo CentOS-Base.repo.bk
Download the yum source of 163 Netease:
Wget http://mirrors.163.com/.help/CentOS-Base-163.repo
3. After updating the yum source, run the following command to update the yum configuration so that the operation takes effect immediately.
Yum makecache
4. In addition to Netease, there are other good yum sources in China, such as CEN and Sohu. You can download them as needed.
Yum source of HKUST:
Wget http://centos.ustc.edu.cn/CentOS-Base.repo
Sohu Yum Source
Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
Theoretically, these yum source RedHat systems and Fedora are also available, but they have not been tested. The webmaster needs to test them on his own.
Configure domestic Yum sources in centos