Install the rehat software source " Unable to read consumer identity"

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

Abstract: if we just installed rehat system, when we install the software source or update, there will be the following tips: Unable to read consumer identity "". Obviously, the tips to tell you, yum did not read to your user ID. If you want to use the RedHat also don't want to spend thousands of yuan of registration system, we can use the CentOS source to replace.

1 registration system provides us with what?

If we click on the system of RHN, various benefits will prompt registration system:

1)Obtained from the official software source

2)Free or installation of the system image and upgrade

3)System fault, have specialized maintenance personnel to coordinate our processing

For most people, we often only relationship, normal system can be installed software is enough. The mechanism of RedHat Yum is that, through the yum to read configuration files through /etc/yum.repos.d/file.repo, which provides Web site, the site to download the RPM software package, and then calls the underlying rpm to install the program. Among them, in the download link, the need to provide consumer ID. In theory, as long as we do not to the official website to download the software, you can avoid the problem of registration.

2 an alternative site: centos

As we all know, RedHat is a commercial OS, but it is open source. So, the community will have the RedHat source code to compile, then remove the RedHat trademark, publishing, this is centos. For the average user, can think of: CentOS and RedHat are the same. Therefore, we can to CentOS corresponding to the site to download software source. Some sites, such as NetEase 163 provides some open source software download address, we will be able to change the domestic software source.

Access to the /etc/yum.repos.d, one of the first rhel-source.repo, renamed rhel-source.repo.bak, make a backup

Then the new rhel-source.repo

The contents are as follows:


name=CentOS-$releasever - Base




#released updates


name=CentOS-$releasever - Updates




#packages used/produced in the build but not released


#name=CentOS-$releasever - Addons




#additional packages that may be useful


name=CentOS-$releasever - Extras




#additional packages that extend functionality of existing packages


name=CentOS-$releasever - Plus




Save, then run Yum update on OK.

Three, need to uninstall RedHat Yum own procedures?

In theory, no need to uninstall the yum program. Of course, you can also install the CentOS Yum to replace the RedHat Yum program. The method can be found here.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Burnell at December 20, 2013 - 4:25 AM