このコンテンツは選択した言語では利用できません。
2. Installation Notes
This section contains information related to installing JBoss Enterprise Web Server version 1.0.1, including hardware and platform requirements and prerequisites.
Important
RPM installation shares Java library files. When Enterprise Web Server coexists with Enterprise Application Platform, library version conflicts occur. Only one version (either Enterprise Web Server or Enterprise Application Platform) can exist on one server when RPM installation is used. The workaround for this issue is to
yum remove Enterprise Application Platform before installing Enterprise Web Server.
2.1. Installation Notes for Red Hat Enterprise Linux リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
The preferred method for installing the JBoss 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.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>
up2date java-<version>-<vendor>
Where
<version> is 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>
yum install java-<version>-<vendor>
Where
<version> is 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
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
- If you are subscribed to the
Red Hat Application Stackchannel, you will need to disable that channel before installing the JBoss Enterprise Web Server. - Subscribe to the JBoss Enterprise Web Server channel: Red Hat Enterprise Linux 4 ews or Red Hat Enterprise Linux 5 ewsThe available channels for Red Hat Enterprise Linux 4 are:
- jb-ews-1-i386-es-4-rpm
- jb-ews-1-x86_64-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
- Install the packages: tomcat5, tomcat6, tomcat-native, httpd22 and mod_jkOn 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
up2date tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5 tomcat5-webapps tomcat5-admin-webapps ecj tomcat-native httpd22 mod_jk-ap20Copy to Clipboard Copied! Toggle word wrap Toggle overflow - On Red Hat Enterprise Linux 5, to install the Tomcat 5 packages, you must make the following modification to the
/etc/yum.conffile. Comment out the option:exactarch=1
exactarch=1Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
This change should be reverted when installation is complete to return yum configuration to the default settings.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
yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5.noarch tomcat5-webapps.noarch tomcat5-admin-webapps.noarch tomcat-native httpd mod_jk-ap20Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Installing via CSP
- Download the JBoss Enterprise Web Server zip file from the CSP site that is correct for your operating system and architecture.
- 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.