redhat5.5 quickly set up a network source

Source: Internet
Author: User

Note: There are many redhat5.5 settings on the Network 163 network source is invalid, because 163 source does not provide REDHAT5 version of the update, only left a document, but it is written very clearly, you can go to

Http://vault.centos.org/5.5/os/x86_64 looking for what we need.


To replace a network source:

1. Uninstall your own rpm Rpm-qa |grep rpm

Rpm-qa|grep Yum |xargs rpm-e--nodeps

2. Installing the Yum for CentOS



wget http://vault.centos.org/5.5/os/x86_64/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm


wget http://vault.centos.org/5.5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm


wget http://vault.centos.org/5.5/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm



wget http://vault.centos.org/5.5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm


3. Download 163 source

Wget Http://mirrors.163.com/.help/CentOS5-Base-163.repo (back up the original)

VI Centos5-base-163.repo to replace all of the $releasever into 5

4. Import the certificate

RPM--import http://vault.centos.org/5.5/os/x86_64/RPM-GPG-KEY-CentOS-5


5. Yum Clean All


6. Yum Makecache

This article from "Kobebryant" blog, declined reprint!

redhat5.5 quickly set up a network source

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.