Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Mirror source is the resource as a mirror, you can use the Internet to download software
1, download repo file, Netease mirror source address: http://mirrors.163.com
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
2, the backup file
mv CentOS-Base.repo CentOS-Base.repo.backup
3, replace system files
mv CentOS7-Base-163.repo CentOS-Base.repo
4, yum update command source
yum Clean All
yum makecache
yum Update
Refer to the official document: http://mirrors.163.com/.help/centos.html