How to enable subscription manager in Red Hat Enterprise OS

Berikut ini adalah cara untuk mengaktifkan subscription manager in Red Hat Enterprise OS.

Create a login redhat here: https://www.redhat.com/wapps/ugc/register.html. 


After you fullfill all requirment and next following steps below:

Red Hat Labs Registration Assistant

RedHat have an online tool to assist you in selecting the most appropriate registration technology for your system. If you would prefer to use this tool, please visit https://access.redhat.com/labs/registrationassistant/.

Register first, then attach a subscription in the Customer Portal
Use the following command to register a system without immediately attaching a subscription:

sudo subscription-manager register --username [your username]

exp: sudo subscription-manager register --username example@gmail.com

Attach a specific subscription through the Customer Portal
After this, refresh the information on your machine using the following command. Be sure to run this any time you add or change the attached subscription from the Customer Portal:

subscription-manager refresh


Attach a subscription from any available that match the system
After registration, use the following command to attach any available subscription that matches the current system.

subscription-manager attach --auto


Register with a specific pool
After registration, use the following command to attach a subscription from a specific pool:

subscription-manager attach --pool=<POOL_ID>

(You can find which pools are available with subscription-manager list --available)
Note: With subscription-manager-1.1.9-1 or later, attach option has been replacing the subscribe option.

Now we can update OS packages with the command:

sudo yum update -y



To disable or un-register subscription-manager you can follow this article:
Hi There, I'm Yahya, and I enjoy sharing knowledge and experiences.