Centos configuration Yum Domestic 163 resource pool Configuration

Source: Internet
Author: User

Reference article: 51CTO recommended Blog-CentOS yum Source Configuration Tips

This article refers to the above blog, and make some adjustments.

Brief Introduction:

Linux package rpm is convenient to use, but it does not solve some of the dependencies of the software package, if there is a dependency when installing the package, using Yum can easily solve the package dependencies, but also easy to manage a large number of package updates;

Characteristics of Yum:

1), can be configured at the same time multiple resource pool (Repository);

2), concise configuration file (/etc/yum.conf);

3), automatically add or remove the installation of the RPM package of the Lai-package;

4, maintain the consistency with the RPM database.

CentOS6.5 Configure the Yum resource pool:

NetEase (163) Yum Source is one of the best yum sources, whether it is the speed or software version, are very good, the Yum source set to 163yum, you can upgrade the package installation and update speed, while avoiding some common software version can not be found. The specific settings are as follows:

1, into the Yum source configuration directory, backup system with the source configuration:

# cd/etc/yum.repos.d/#
MV Centos-base.repo centos-base.repo.bak
# mv Centos-debuginfo.repo Centos-debuginfo.repo.bak
# mv Centos-media.repo Centos-media.repo.bak
# mv Centos-vault.repo Centos-vault.repo.bak
2, download 163 yum Source:

# wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo
3, update the 163 yum source, the following command to update the Yum configuration, so that the operation immediately effective:
# yum Makecache

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.