RedHat can be used upon a paid subscription. You have to register your system using the following command in order to use the Yum repositories :
subscription-manager register --username <username> --password <password> --auto-attach
If by any chance you ran that command in the first place but you had no subscription available in your account, your system will have a UUID on the RedHat customer portal, but not subscribed.
Once you have (purchased) a subscription in your account, you can then run the following command to attach it :
subscription-manager attach --auto
Known issues : System is registered, have UUID assigned within the RedHat customer portal but status showed “Not Subscribed” as followed on the server :
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Not Subscribed
Possible causes :
– You are out of licenses in your pool
– Your license pool have to be “refreshed” (this have to be done by RedHat Customer Service)
Once one of the above matter has been resolved, you may attempt to re-subscribe the server without unregistering it using command :
subscription-manager attach --auto
If this still fail but possible causes has been resolved or ruled out, you may try to unregister the system and re-register it (a new UUID will be generated) :
subscription-manager unregister
To reach out RedHat Customer Service (North America), use the following email address : customerservice@redhat.com