RHEL 6.2/i686 configure to use centos Yum Source

Source: Internet
Author: User

# reference: http://www.linuxde.net/2011/10/1578.html
Sh # rpm-AQ | grep Yum | xargs rpm-e -- nodeps
Sh # wget http://mirror.centos.org/centos/6.2/ OS /i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
Sh # wget http://mirror.centos.org/centos/6.2/ OS /i386/Packages/yum-metadata-parser-1.1.2-16.el6.i686.rpm
Sh # wget http://mirror.centos.org/centos/6.2/ OS /i386/Packages/yum-3.2.29-22.el6.centos.noarch.rpm
Sh # wget http://mirror.centos.org/centos/6.2/ OS /i386/Packages/yum-plugin-fastestmirror-1.1.30-10.el6.noarch.rpm
Sh # rpm-IVH python-iniparse-0.3.1-2.1.el6.noarch.rpm
Sh # rpm-IVH yum-metadata-parser-1.1.2-16.el6.i686.rpm
Sh # rpm-IVH yum-3.2.29-22.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-10.el6.noarch.rpm
Sh # CD/etc/yum. repos. d/
Sh # wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
Sh # vi CentOS6-Base-163.repo
(replace all $ releasever in the file with version: 6.2)
Sh # Yum clean all
Sh # Yum makecache
Sh # Yum search Vim # test

 

Http://hi.baidu.com/zjstandup/blog/item/2a3d93fbd17b623d4e4aea37.html

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.