Registering a RHEL system
For Red Hat Enterprise Linux machines, the subscription-manager
solution allows users of RHEL to register their software, as well as download Red Hat tested and certified software, updates, and upgrades for RHEL.
In this section, you’ll learn how to register and enable your Red Hat subscription to install any package on your system.
During the install process you already registered your RHEL system or are using a pre-registered lab, but you may still want to learn how to do so from the CLI. |
Register and Activate a Red Hat Subscription
In order to register your RHEL machine to the Customer Portal, use the subscription-manager
command with your credentials like so. The --auto-attach
parameter enables the subscription at the same time.
subscription-manager register --username <username> --password <password> --auto-attach
The RHEL system sould confirm your registration with an output similar like so.
The system has been registered with ID: <id>
The registered system name is: localhost.localdomain