NOTE: This is only possible if you have a valid subscription from Red Hat Linux
Login to your RHEL server and follow the below given steps
The below screen will pop up. Click on Next
Provide the Red Hat Login subscription username and password provided to you by Red Hat
Give a suitable profile name for your machine. By default your hostname will be taken as profile name
This is the last step. Click on Finish.
To verify the changes you can login to your Red Hat Customer Portal. Under the entitlements section you should see the registered system as shown below
To view the available repositories entitled to your machine
[root@test ~]# yum repolist all
Loaded plugins: rhnplugin, security
repo id repo name status
rhel-debuginfo Red Hat Enterprise Linux 5Server – x86_64 – disabled
rhel-debuginfo-beta Red Hat Enterprise Linux 5Server Beta – x86 disabled
rhel-x86_64-server-5 Red Hat Enterprise Linux (v. 5 for 64-bit x enabled: 15,819
Let me know your success and failure.