Step 1: Enter the yum profile directory:
cd /etc/yum.repos.d/
Step 2: Back up the configuration file:
mv CentOS-base . repo CentOS-base . repo . bak
Step 3: Download the configuration of Netease (or other source configuration files):
wget /。 Help /CentOS6-Base- 163.repo
The file name of the download is centos6-base-163.repo.
Step 4: Rename (rename to the file name required in the configuration file)
mv CentOS6-Base- 163
Step 5: Update:
Yum update
Finally finished.