5.8. Red Hat Enterprise Linux 5 rhn_register Client
rhn_register. The new version of this application works with the yum-based RHN client that will replace
rhn_registerapplication included as part of Red Hat Enterprise Linux 4 and earlier will continue to operate as expected.
rhn_registerapplication runs as part of the firstboot process. The first time a newly-installed Red Hat Enterprise Linux 5 system is booted, an application that performs the initial configuration of your system uses
rhn_registerto register your system with RHN.
rhn_registerto do so. You can execute the command
rhn_registerfrom the command line as root. If you have never registered, you can start
rhn_registerby selecting (the main menu on the panel) ⇒ ⇒ . (You will be asked to enter the root password.) The yum-based client then triggers
rhn_registerif there is no
/etc/sysconfig/rhn/systemidfile on the system.
/etc/sysconfig/rhn/systemidexists on the system,
rhn_registerfirst asks if you are sure that you would like to register in this way. Doing so may create a duplicate system profile in RHN. Consider using
rhnreg_ksand activation keys to re-register a system without creating a duplicate entry.
Figure 5.16. Verify Re-Registration
Figure 5.17. Registering for Software UpdatesThis first page describes the purpose of the application. To learn more about the benefits of RHN, press thebutton. Otherwise, press the button to continue.
Figure 5.18. Choose an Update LocationThis page allows you to select the source of your software updates - either from RHN's Hosted environment or from an RHN Satellite Server or RHN Proxy Server. If your organization has a Satellite or Proxy, select the second radio button and enter the URL of your Satellite or Proxy into the Red Hat Network Location field.If you connect to the internet through an HTTP Proxy, press the Choose an Update Location page. Press to continue.button. In the next window, use the appropriate fields for your HTTP proxy; if your proxy requires authentication, enter the username and password here. When finished, press the button to continue. You are returned to the
Figure 5.19. Enter Your Account InformationThis page requires you to enter your account information, if you already have an RHN account, or to create a new account if you do not. To create a new RHN account, press thebutton. Fill in the fields that are marked with an asterisk and any other information you wish to enter. Press the button to create your new login.
NoteIf you are registering to RHN Hosted as part of an organization, please do not create a new account through this screen. Contact your Organization Administrator and request that they create an account for you, then provide that information in the Enter Your Account Information page. Otherwise, you may not be correctly associated with your organization or its resources.
Figure 5.20. Create Your System ProfileThis page allows you to select a profile name for the system you are registering. The default name for any system is that system's hostname, although you may change it as you like. You can also select whether to report hardware and package information to RHN. It is recommended that you choose to report this information; doing so allows RHN to automatically subscribe your system to the base and child channels most appropriate to your system. If you wish, you may press either theor button to view the information that
rhn_registeruploads to RHN in this step.
NoteThis automatic registration does not automatically subscribe your system to optional child channels, such as the RHN Tools channel. If you wish to register a system and have them automatically subscribed to a set of channels of your choice, consider using a kickstart profile or
rhnreg_ksand activation keys to do so.
Figure 5.21. Review System Subscription DetailsThis page displays the base and child channel information to which your system has been subscribed. Take a moment to review the channels, and then pressto continue.
Figure 5.22. Finish Setting Up Software UpdatesThis page indicates that you have successfully registered a Red Hat Enterprise Linux 5 system with RHN. From this point, you do not have to do anything to receive software updates. A package icon will appear in the upper right corner of your desktop when updates are available. Click on this icon to apply available updates. Clickto exit the wizard.If you do not have any entitlements available for this system, this final page indicates that the registration has failed. This does not mean that the system profile has not been stored with RHN, only that you will not receive automatic updates without manual intervention. You can always login to the RHN web interface and either purchase additional entitlements or shift an entitlement from another system in order to entitle this one. Click thebutton to exit the wizard.