此内容没有您所选择的语言版本。

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:
    • On Red Hat Enterprise Linux 4, skip this step and proceed to Procedure 3.15, “Installing Enterprise Web Server from RPM Packages”.
    • On Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 5, open /etc/yum.conf for editing and set the exactarch value to 0:
      exactarch=0
      Copy to Clipboard Toggle word wrap
      If the directive is not present, add it to the file.

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>
      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 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
      Copy to Clipboard Toggle word wrap

      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>
      Copy to Clipboard Toggle word wrap
      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
      Copy to Clipboard Toggle word wrap
  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
      Copy to Clipboard Toggle word wrap
  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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat