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