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

2. Installation Notes


This section contains information related to installing JBoss Enterprise Web Server version 1.0.0, including hardware and platform requirements and prerequisites.

2.1. Installation Notes for Red Hat Enterprise Linux

The preferred method for installing the Red Hat Enterprise Web Server on Red Hat Enterprise Linux is by using the Red Hat Enterprise Linux rpm file; however we will also discuss installation via the zip package.
You must have adequate disk space to install JBoss Enterprise Web Server while also allowing enough space for your applications.
A working, supported installation of Java 1.5 or 1.6 on your system will also be necessary. On Red Hat Enterprise Linux 4 systems subscribed to the Extras channel, this can be achieved by executing:
up2date java-<version>-<vendor>
Where <version> can be 1.5.0 or 1.6.0 and <vendor> can be sun or ibm.
On Red Hat Enterprise Linux 5 systems, this can be achieved by executing:
yum install java-<version>-<vendor>
Where <version> can be 1.5.0 or 1.6.0 and <vendor> can be sun, ibm or openjdk. Please note that OpenJDK is only available for version 1.6.0.
Once the Java SDK has been installed, please check to make sure the desired JDK is chosen by executing the following:
alternatives --config java
alternatives --config javac
If the JDK in use is not the desired option, the above commands can be used to switch to another JDK.

Important

By switching alternatives for the Java JDK for Tomcat, other software that makes use of the java and javac commands will now be using the same JDK as well.
JBoss Enterprise Web Server can either be installed via the Red Hat Network (RHN) or the JBoss Customer Support Portal (CSP).
Installing via RHN

  1. If you are subscribed to the Stacks channel, you will need to disable that channel before installing the JBoss Enterprise Web Server.
  2. Subscribe to the JBoss Enterprise Web Server channel: Red Hat Enterprise Linux 4 ews or Red Hat Enterprise Linux 5 ews
    The avaliable channels for Red Hat Enterprise Linux 4 are:
    • jb-ews-1-i386-as-4-rpm
    • jb-ews-1-64-bit systems-as-4-rpm
    • jb-ews-1-i386-es-4-rpm
    • jb-ews-x86_64-es-4-rpm
    The avaliable channels for Red Hat Enterprise Linux 5 are:
    • jb-ews-1-i386-server-5-rpm
    • jb-ews-1-x86_64-server-5-rpm
  3. Install the packages: tomcat5, tomcat6, tomcat-native, httpd22 and mod_jk
    On Red Hat Enterprise Linux 4 to install the packages, execute:
    up2date tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5 tomcat5-webapps tomcat5-admin-webapps ecj tomcat-native httpd22 mod_jk-ap20
    
  4. On Red Hat Enterprise Linux 5 check that the Tomcat 5 packages are not already installed, if not then install the packages by executing:
    yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5 tomcat5-webapps tomcat5-admin-webapps tomcat-native httpd mod_jk-ap20
    
    Otherwise, in order to install the Tomcat 5 packages, you need to make the following modification to the /etc/yum.conf file. Comment out the option:
    exactarch=1
    
    Then install the packages:
    yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5.noarch tomcat5-webapps.noarch tomcat5-admin-webapps.noarch tomcat-native httpd mod_jk-ap20
    

    Note

    Revert the change in /etc/yum.conf once installation is complete, this returns yum configuration to default settings.

Warning

Following RPM installation on Red Hat Enterprise Linux 4, the /var/log/httpd22 directory must be manually created, otherwise the httpd startup script will fail.
Installing via CSP

  1. Download the JBoss Enterprise Web Server zip file from the CSP site that is correct for your operating system and architecture.
  2. Unzip the file.

Important

You can install both Tomcat 5 and Tomcat 6 in parallel on your system, however port addresses would need to be modified in order to avoid conflict.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2026 Red Hat
返回顶部