Hot search terms: 360 Security Guard Office365 360 browser WPS Office iQiyi Huawei Cloud Market Tencent Cloud Store
commercial trade Storage size: 6.91MB Time: 2011-04-01
Software introduction: The use of truck scale weighing management software can enable scientific management of the import, sales, and inventory of enterprise logistics, improve work efficiency, and reduce management...
After installing the RedHat system, many users get an error message when installing the software source, namely "Unable to read consumer identity". What is the cause of this? How to solve it? Today, the editor of Huajun shows you the RedHat software source prompt Unable to read consumer identity. What should I do? I hope you will support and share the carefully selected content. If you like it, get it as soon as possible! .
This prompt tells you that yum has not read your user ID. If you want to use redhat and don't want to spend thousands of dollars to register the system, we can use the CentOS source instead.
1. What does the registration system provide us?
If we click on the RHN of the system, we will be prompted with various benefits of registering the system:
1) Obtain software sources from official sources
2) Free or system installation images and upgrades
3) After a system failure, specialized maintenance personnel will assist us in handling the problem.
For most people, we often only care about whether the system can install software normally. The mechanism of yum on redhat is as follows. The configuration file /etc/yum.repos.d/file.repo is read through yum, and the rpm software package is downloaded to the corresponding site through the URL provided, and then the underlying rpm program is called. Install. Among them, during the download process, the consumer id needs to be provided. In theory, as long as we don't download the software from 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 source code of redhat, then remove the redhat trademark and release it. This is centos. For general users, it can be considered that centos and redhat are the same. Therefore, we can go to the centos corresponding site to download the software source. Some domestic websites, such as NetEase 163, provide download addresses for some open source software. We can change the software source to domestic.
Go to /etc/yum.repos.d, there is rhel-source.repo, rename it to rhel-source.repo.bak first, and make a backup
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/centos/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 will be ok.
3. Do I need to uninstall the yum program that comes with redhat?
Theoretically, there is no need to uninstall the local yum program. Of course, you can also install centos' yum to replace redhat's yum program.
The above is the editor’s summary of how to solve the problem of Unable to read consumer identity when RedHat installs software sources. This is mainly caused by the lack of a registration system. If you don’t want to waste money, it is recommended to use CentOS sources instead.
How to switch accounts to log in to iQiyi? -How to log in to iQiyi account switching account
How to capture the game with obs? -obs method of capturing games
How to set the encoder in obs? -obs method of setting the encoder
How to close and hide the OBS window in screen capture? -obs closes the method of hiding the OBS window in screen capture
How to set Traditional Chinese in obs? -obs method to set Traditional Chinese
What to do if there is no sound after reinstalling the computer system - Driver Wizard Tutorial
How to practice typing with Kingsoft Typing Guide - How to practice typing with Kingsoft Typing Guide
How to upgrade the bootcamp driver? How to upgrade the bootcamp driver
How to change QQ music skin? -QQ music skin change method
Driver President Download-How to solve the problem when downloading driver software is very slow