2.5.5. Installing Enterprise Web Server from RPM Files


Before downloading and installing the RPM packages, register your system with Red Hat Network for Red Hat Enterprise Linux 5 and 6 and Red Hat Subscription Management for Red Hat Enterprise Linux 7 and subscribe to the respective channels/repositories.

Note

If you are installing JBoss Enterprise Web Server on Red Hat Enterprise Linux 6 and 7, you must remove the tomcatjss package before installing the tomcat-native package. The tomcatjss package uses an underlying NSS security model rather than the OpenSSL security model.

Procedure 2.15. Removing tomcatjss Package

Follow this procedure to remove the tomcatjss package:
  1. At the shell prompt, become the root user.
  2. Run the following uninstall command:
    # yum remove tomcatjss
    Copy to Clipboard Toggle word wrap

Procedure 2.16. 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 (see Section 2.5.3, “RHN Channels for JBoss Enterprise Web Server Installation Packages”).

Procedure 2.17. Subscribing to Red Hat Subscription Management Repositories

  1. Click on the appropriate Units or Subscription Management Applications.

Procedure 2.18. Installing Enterprise Web Server from RPM Packages

Install the respective packages (see Section 1.2, “Components” and Section 2.5.2, “RPM Packages” to identify the packages relevant for your installation):
  1. At the shell prompt, become the root user.
  2. To install JBoss Enterprise Web Server as a group of packages, run the installation command:
    # yum groupinstall jboss-ews2
    Copy to Clipboard Toggle word wrap
    • To install all packages in the group individually, on Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 5:
      # yum install <LIST_OF_PACKAGES>
      Copy to Clipboard Toggle word wrap
      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 httpd mod_auth_kerb mod_cluster mod_cluster-native mod_jk-ap22 mod_rt mod_snmp mod_cluster-tomcat6 mod_cluster-tomcat7 tomcat6 tomcat6-admin-webapps tomcat6-webapps tomcat7 tomcat7-admin-webapps tomcat7-webapps tomcat-native
      Copy to Clipboard Toggle word wrap
  3. Verify the system is using the correct javac and java (for details see Procedure 2.3, “Installing Java”).
Install Optional Packages

Run the following command to install the listed optional packages with the JBoss Enterprise Web Server packages:

# yum install httpd-manual mod_jk-manual mod_ssl tomcat6-docs-webapp tomcat7-docs-webapp tomcat6-log4j tomcat7-log4j mod_jk-ap22 mod_cluster-demo hibernate3-commons-annotations-javadoc hibernate-jpa-2.0-api-javadoc tomcat6-javadoc tomcat7-javadoc apache-commons-daemon-jsvc-eap6
Copy to Clipboard Toggle word wrap
Back to top
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

© 2025 Red Hat