Centos Yum source and RPM warehouse in China

Source: Internet
Author: User

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
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.