CentOS6.5 configure 163 image source and Sohu yum Image Source

Source: Internet
Author: User

CentOS6.5 configure 163 image source and Sohu yum Image Source

The download speed of the image source that comes with centos is really worrying. Think about how to change it to a domestic version.

This article is mainly written by Netease. Of course, there are image sources provided by Sohu in China, which are also provided by several universities.

It is said that NetEase is a China Telecom line and Sohu is a China Unicom line.

Here we mainly introduce the modification method of Netease 163. Sohu's modification method is similar to this.

Netease source image help address: http://mirrors.163.com/.help/centos.html

Image Source Sohu help address: http://mirrors.sohu.com/help/centos.html

Step 1: Download the repo File

Cd/etc/yum. repos. d // switch to the configuration directory wgethttp: // mirrors.163.com/.help/centos6-base-163.repo//download the repofile

Use this for centos5.X:

Wget http://mirrors.163.com/.help/centos5-base-163.repoof course, you can also manually configure

Repo file description see http://unun.in/linux/16.html

Step 2: Back up and replace the system's repo File

Mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.backup // back up the original repo file mvCentOS6-Base-163.repoCentOS-Base.repo // rename the downloaded file

Step 3: Execute yum source update

Yumcleanallyummakecache // This step must have

Update the system. This step is not required.

Yumupdate

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.