Centos Yum source and RPM warehouse in China
Yum search fastestmirror
Yum install Yum-fastestmirror *-y
Yum update Yum *
Yum update kernel *
Yum update
Centos
USTC mirror, University of Science and Technology of China (updated every hour)
Http://centos.ustc.edu.cn/
CD/etc/yum. Repos. d
MV CentOS-Base.repo CentOS-Base.repo.save-'date + % F'
Wget http://centos.ustc.edu.cn/CentOS-Base.repo.5
MV CentOS-Base.repo.5 CentOS-Base.repo
Centos 4:
CD/etc/yum. Repos. d
MV CentOS-Base.repo CentOS-Base.repo.save
Wget http://centos.ustc.edu.cn/CentOS-Base.repo
Sohu open-source image site
Http://mirrors.sohu.com/help/centos.html
Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
Yum makecache
Generate Cache
Netease open-source image site
Http://mirrors.163.com/.help/centos.html
Wget http://mirrors.163.com/.help/CentOS-Base-163.repo
Yum makecache
Generate Cache
* Rpmforge:
Http://dag.wieers.com/rpm/FAQ.php#B4
Http://dag.wieers.com/rpm/packages/rpmforge-release/
# Red Hat Enterprise Linux 5/i386:
Rpm-UHV http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# Red Hat Enterprise Linux 5/x86_64:
Rpm-UHV http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
# Red Hat Enterprise Linux 4/i386:
Rpm-UHV http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
Delete the 32-bit component:
yum remove \*.i\?86
To prevent 32-bit meta components from being installed in future updates, edit your/etc/yum. conf file and add the following line:
exclude = *.i?86
SourceAddress :http://veryi.com/w/327.html