After installing the RedHat system, many users have an error message when installing the software source, that is, “Unable to read consumer identity”, what is the reason? How to solve it, the following small series will introduce you to the solution of Unable to read consumer identity after RedHat installs the software source.
The prompt tells you, yum not read your user id. If you want to use redhat and don't want to spend thousands of dollars on the registration system, we can use the source of CentOS instead.
1. What does the registration system give us?
If we click on the system's RHN, we will prompt you to register the system's benefits:
1) Obtain the software source from the official
2) Free or system installation image and upgrade
3) After the system failure, there are special maintenance personnel to cooperate with us.
For most people, we often only have to know whether the system can install the software normally. The mechanism of redhat on yum is like this. Read the configuration file /etc/yum.repos.d/file.repo through yum, download the rpm package from the corresponding website through the URL provided, and then call the underlying rpm program. installation. Among them, in the download link, you need to provide the consumer id. In theory, as long as we don't download the software on the official website, we can avoid registration problems.
2. An alternative site: centos
We all know that redhat is a commercial OS, but it is open source. Therefore, the community will recompile the redhat source code, and then remove the redhat trademark, and release it, this is centos. For the average user, it can be considered that centos and redhat are the same. Therefore, we can download the software source from the site corresponding to centos. Some domestic websites, such as Netease 163, provide some open source software download addresses, we can change the software source to domestic.
Go to /etc/yum.repos.d, there is a rhel-source.repo, first renamed rhel-source.repo.bak, make a backup
and then create a new rhel -source.repo
The content is as follows:
[base]
name=CentOS-$releasever - Base
baseurl=http://mirrors. 163.com/centos/6.3/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS- 6
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://mirrors.163.com /centos/6.3/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
#packages used/produced in the build but not released
#[addons]
#name=CentOS-$releasever - Addons
#baseurl=http ://mirrors.163.com/centos/$releasever/addons/$basearch/
#gpgcheck=1
#gpgkey=http://mirrors.163.com/cen Tos/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirrors.163.com/centos/6.3/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com /centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirrors.163.com/centos/6.3/centosplus/$basearch/
gpgcheck=1
enabled=0
Save, then run yum update and it's ok.
3, need to uninstall redhat comes with yum program?
In theory, there is no need to uninstall the yum program of this machine. Of course, you can also install the yum of centos to replace the redhat yum program.
The above is the introduction of Unable to read consumer identity after RedHat installs the software source, mainly because there is no registration system, if you do not want to spend money, it is recommended to use CentOS source instead.
In the Linux system, sometimes plugged in the u disk but can not be identified, I think many people
In many Linux commands, the install command and the cp command can copy files, but
In the Linux system, for some reasons, the password is set for the pdf file, but th
Debian is an operating system that you can use on your computer. Debian wheezy is t
How Linux implements remote control of shell commands
CentOS 5.5 prohibits single-user mode approach
Linux system using additional permissions method
Linux uses Florence to set up screen keyboard operation examples
Linux system management disk and file method
What should I do if a Linux normal user does not have permission to use the command?
How to add and delete user accounts in Linux system
How to modify the image name in batches under Linux
How to use the cat command under Linux?
How to expand Xen virtual hard disk space by Linux
Linux how to use the setfacl command to create a permission file
Win10 emoji expression how to use win10 emoji expression shortcut key to open method
In the win10 system, the two solutions for the Jiji video can not be flashed off
Three solutions to the "Windows installer can't configure windows..." when installing Win8.1 system
Win10 start menu can not find the control panel how to do
Three small coups of Thunder death to prevent user privacy
Freely diagnose system memory with official tools
98 yuan upgrade Win8 Professional Edition, have you received the Microsoft promotional code?
Win8 sleep file deletion method
Must not look at Windows XP system broadband application skills