Centos 6.4 Replacement of 163 Yum Source Configuration method

Source: Internet
Author: User
Tags centos

CentOS system with the speed of the updated source is really slow, you must feel that the domestic speed is unbearable. In order to let CentOS6 use faster yum update source, generally do operational maintenance of the principle of replacement source, I can generally choose 163 (netease) Update source.

Centos 6.4 Method of replacing Yum source of NetEase 163

1. Download Repo file

The code is as follows Copy Code

wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo

2, backup and replace the system's repo files

The code is as follows Copy Code
[Root@localhost ~]# cd/etc/yum.repos.d/
[Root@localhost ~]# MV Centos-base.repo Centos-base.repo.bak
[Root@localhost ~]# MV Centos6-base-163.repo Centos-base.repo


3, the implementation of Yum source update

  code is as follows copy code

[root@localhost ~]# Yum Clean all
[root@localhost ~]# yum makecache
[root@localhost ~]# yum update

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.