Modify the CentOS yum source to 163 backup/etc/yum. repos. d/CentOS-Base.repo www.2cto.com Modify/etc/yum. repos. d/CentOS-Base.repo [plain] # CentOS-Base.repo # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. you shoshould use this for CentOS updates # unless you are manually picking other mirror S. # If the specified list = does not work for you, as a fall back you can try the # remarked out baseurl = line instead. # [base] name = CentOS-$ releasever-Base-163.com baseurl = http://mirrors.163.com/centos/?releasever/ OS /?basearch/ # #list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = OS gpgcheck = 1 gpgkey = http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 # released updates [updates] name = CentOS-$ releasever-Updates-163.com baseurl = signature # Your list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = updates gpgcheck = 1 gpgkey = http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 # additional packages that may be useful [extras] name = CentOS-$ releasever-Extras-163.com baseurl = http://mirrors.163.com/centos/?releasever/extras/?basearch/ # #list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = extras gpgcheck = 1 gpgkey = http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 # extends packages that extend functionality of existing packages [centosplus] name = CentOS-$ releasever-Plus- 163.com baseurl = http://mirrors.163.com/centos/?releasever/centosplus/?basearch/ # #list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = centosplus gpgcheck = 1 enabled = 0 gpgkey = http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 # contrib-packages by Centos Users [contrib] name = CentOS-$ releasever-Contrib -163.com baseurl = http://mirrors.163.com/centos/?releasever/contrib/?basearch/ # #list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = contrib gpgcheck = 1 enabled = 0 gpgkey = http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6