To add a subscription after installing Red Hat Enterprise Linux 7.2, type this command as root.
[root@localhost jason]# subscription-manager register --username USERNAME --password "PASSWORD" |
This will setup your Red Hat subscription.
Then enter this command. This will refresh all of the information on your machine.
[root@localhost jason]# subscription-manager refresh |
And finally, run this command to attach any valid subscription that matches the credentials provided.
[root@localhost jason]# subscription-manager attach |
After this has completed successfully, you may then run yum update
to install any pending updates for your system.