4.4. Install JBoss Enterprise Application Platform 6 using the Red Hat Network (RPM installation)
The RPM package method of installing JBoss Enterprise Application Platform 6 is appropriate for Red Hat Enterprise Linux 6. The recommended installation method is to use the Red Hat Network (RHN) to manage your server subscriptions and channels.
Important
jbossas-hornetq-native package is included for high availability in JBoss Enterprise Application Platform 6 but it is not activated by default.
To install JBoss Enterprise Application Platform 6 using the Red Hat Network, the host server must meet the following requirements:
- The server must be registered on the Red Hat Network.
- The server must be subscribed to the
Red Hat Enterprise Linux Server (v.6)base software channel. - The server must be subscribed to the
JBoss Application Platform (v 6) for 6Server x86_64sub-channel. The sub-channel is in theAdditional Services Channels for Red Hat Enterprise Linux 6 for x86_64group. - A Java 6 JDK must be installed. If you wish to use a Java 7 JDK, you need to install both versions. To configure which JDK your system uses as the default, run the following command, with superuser privileges:
[root@host /root]#
alternatives --config javaA plus sign (+) is displayed beside the current default. Follow the on-screen instructions to make any changes, or press the Enter key to keep the current selection.

Figure 4.1. A system configured for RHN installation of JBoss Enterprise Application Platform 6
Procedure 4.3. Task
Install the RPM package by using YUM and the Red Hat Network
Use YUM to install the default JBoss Enterprise Application Platform 6 group package by using thegroupinstallcommand.[user@host ~]$ yum groupinstall jboss-eap6
Configure init options.
The RPM install contains init scripts for launching the server. The configuration for the init scripts are contained in serveral additional files. Refer to Section 4.5, “RPM Installation Configuration Files” for details about these files and the options contained within.
The installation is complete. Refer to Section A.1, “RPM Package List and Dependencies” for a complete list of all the packages installed.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.