3.3.3. Installing Enterprise Web Server from RPM Files


Before downloading and installing the RPM packages, register your system with Red Hat Network and subscribe to the respective channels.

Procedure 3.14. Subscribing to Red Hat Network Enterprise Channels

  1. Unsubscribe your system from the Red Hat Application Stack channel.
  2. Subscribe to the JBoss Enterprise Web Server channels (refer to Section 3.3.2, “RHN Channels for JBoss Enterprise Web Server Installation Packages”).
  3. Ensure that exactarch is set to the correct value:

Procedure 3.15. Installing Enterprise Web Server from RPM Packages

Install the respective packages (refer to Section 1.1, “Components” and to Section 3.3.1, “RPM Packages” to identify the packages relevant for your installation):
  1. At the shell prompt, become the root user.
  2. Depending on your operating system, run the installation command:
    • On Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 5:
      # yum install <LIST_OF_PACKAGES>
      Substitute the <LIST_OF_PACKAGES> with names of the packages separated with spaces.
      To install all JBoss Enterprise Web Server packages, run this command:
      # yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps 
      tomcat5.noarch tomcat5-webapps.noarch tomcat5-admin-webapps.noarch tomcat-native httpd mod_jk-ap20 mod_cluster-tomcat6 mod_cluster-native tomcat6-log4j mod_ssl hibernate3 tomcat-jkstatus-ant

      Note

      Unless package.noarch is specified for Tomcat 5 packages, yum fetches all Tomcat 5 packages from the base channel instead of the JBoss Enterprise Web Server channel.
    • On Red Hat Enterprise Linux 4:
      # up2date <LIST_OF_PACKAGES>
      Substitute the <LIST_OF_PACKAGES> with names of the packages divided by spaces.
      To install all JBoss Enterprise Web Server packages, run this command:
      # up2date tomcat6 tomcat6-webapps tomcat6-admin-webapps xerces-j2
      tomcat5 tomcat5-webapps tomcat5-admin-webapps tomcat-native httpd22 mod_jk-ap20 mod_cluster-tomcat6 mod_cluster-native tomcat6-log4j  mod_ssl22 hibernate3 tomcat-jkstatus-ant
  3. Ensure that exactarch is set to the correct value:
    • On Red Hat Enterprise Linux 4, skip this step.
    • On Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 5, open /etc/yum.conf for editing and set the exactarch value to 1:
      exactarch=1
  4. Run the following command and verify the system is using the correct javac and java (for details refer to Procedure 3.1, “Installing Java”).
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top