"This system is not registered with RHN" solution in Red Hat Linux

Source: Internet
Author: User

The reason is that your Linux is not registered on the Red Hat Network, so you cannot download the software package above. You can use centos as an alternative.
The following describes how to use centos.

1. Uninstall the default Yum package installed by RHEL
View Yum package
Rpm-Qa | grep yum
Detach
Rpm-Qa | grep Yum | xargs rpm-e-nodeps

2. download the new Yum package
Wget http://centos.ustc.edu.cn/centos/5/ OS /i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm

Wget http://centos.ustc.edu.cn/centos/5/ OS /i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm

Wget http://centos.ustc.edu.cn/centos/5/ OS /i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm

And install
Rpm-IVH Yum -*
Note: Yum and Yum-fastestmirror are mutually dependent, so install them at the same time.

3. Download the configuration source of yum
Download the wget http://www.linuxidc.com/files/2011/05/06/CentOS-Base.repo to the/etc/yum. Repos. d/directory

4. Run Yum makecache to generate Cache

Address: http://www.linuxidc.com/Linux/2011-05/35643.htm

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.