To be able to install using RHN, please firstly ensure that you have met the pre-requisites described in Section 2.1, “Pre-Requisites” and subscribe to the appropriate jbappplatform-4-rpm child channel (refer to the instructions that follow).
Software channels provide a well-defined method to determine which packages should be available to a system for installation or upgrade, based upon its operating systems, packages, and functionality. After logging in to your account on the RHN website at http://rhn.redhat.com you can click on a channel name to view its Channel Details page.
You can use the following steps to subscribe a system to the Application Platform channel. This channel will only be available for a valid subscription. Use the Channels tab to view the software channels available for your account.
For a system that is already registered to Red Hat Network (RHN), log in to your account.
Select the Systems tab along the top menu. This will bring up the System Overview.
If the System Overview menu shows System Groups, select View Systems, to see the Systems list.
Select the desired system by clicking the system name link under the System column.
Select the Alter Channel Subscriptions link under the Subscribed Channels section (on the right side of the page).
To modify the child channels associated with this system, use the checkboxes next to the channels and click the Change Subscriptions button. You will receive a success message or be notified of any errors.
To verify that the child channel is now associated with the system, use the up2date command with the --show-channels option from the system. For example:
up2date --show-channels
Please ensure that jbappplatform-*-rpm is listed in your channels.
You can then install the JBoss Application Platform using the following command:
up2date --installall jbappplatform-4-<architecture>-<channel>-rpm
Where <architecture> is your hardware architecture for example x86_64 or i386 and <channel> is the name of the channel you are subscribed to for example as-4 for Red Hat Enterprise Linux Advanced Server 4, 5 for Red Hat Enterprise Linux 5 Server or Desktop etc. For an x86 64 bit architecture running Red Hat Enterprise Linux Advanced Server 4 the following syntax will be used:
up2date --installall jbappplatform-4-x86_64-as-4-rpm