6.2. Installation using RHN

6.2. Installation using RHN

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.

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