Solution for "ThissystemisnotregisteredwithRHN" 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. uninstall rhel default installed yum package view yum package rpm-qa | grepyum uninstall rpm-qa | grepyum | xargsrpm-e-nodeps2. download the new yum package wgethttp: // centos.ustc.edu.cn/centos/5

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

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.