r/techtutorial • • Dec 14 '20

The system is not registered to Red Hat Subscription Management

[root@RHEL8-3 ~]# yum repolist

Updating Subscription Management repositories. 
Unable to read consumer identity This system is not registered to Red Hat subscription Management. You can use subscription-manager to register. 
No repositories available

[root@RHEL8-3 ~]# subscription-manager register  
Registering to: subscription.rhsm.redhat.com:443/subscription 
Username: username 
Password:  
The system has been registered with ID: 1918d36e-6857-40ba-ab06-e95396f80266 
The registered system name is: RHEL8-3.localdomain 

[root@RHEL8-3 ~]# subscription-manager attach --auto 
Installed Product Current 
Status: Product 
Name: Red Hat Enterprise Linux for x86_64 
Status:       Subscribed  

[root@RHEL8-3 ~]# subscription-manager list --available 
[root@RHEL8-3 ~]# subscription-manager attach --pool=8a85f99a75fb07cc017628bb2743749d Successfully attached a subscription for: 30 Day Red Hat Enterprise Linux Server Self-Supported Evaluation   

[root@RHEL8-3 ~]# subscription-manager list 
[root@RHEL8-3 ~]# yum repolist
[root@RHEL8-3 ~]# subscription-manager repos --list 

[root@RHEL8-3 ~]# subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms 
Repository 'codeready-builder-for-rhel-8-x86_64-rpms' is enabled for this system.  [root@RHEL8-3 ~]# subscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpms 
Repository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this system.  
[root@RHEL8-3 ~]# yum repolist 

[root@RHEL8-3 ~]# yum update -y

https://github.com/techarkit/Linux-For-Beginners/blob/master/register_rhel8.md
1 Upvotes

0 comments sorted by