Modify the CentOS yum source to 163 backup/etc/yum. repos. d/CentOS-Base.repowww.2cto.com modify/etc/yum. repos. d/CentOS-Base.repo [plain] # CentOS-Base.repo # ThemirrorsystemusestheconnectingIP. 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 mirrors. # 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/# releasever 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 = http://mirrors.163.com/centos/ $ Releasever/updates/$ basearch/# releasever 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/# Revoke list = http://mirrorlist.centos.org/?release= $ Releasever & arch = $ basearch & repo = extras gpgcheck = 1 gpgkey = http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 # Additional packages that extend functionality of existing packages [centosplus] name = CentOS-$ releasever-Plus-163.com baseurl = http://mirrors.163.com/centos/ $ Releasever/centosplus/$ basearch/# export 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/# Revoke 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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.