此内容没有您所选择的语言版本。
2.6.4. 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 2.15. Subscribing to Red Hat Network Enterprise Channels
- Go to Red Hat Network Enterprise.
- Unsubscribe your system from the
Red Hat Application Stack
channel. - Subscribe to the JBoss Enterprise Web Server channels (refer to Section 2.6.3, “RHN Channels for JBoss Enterprise Web Server Installation Packages”).
Procedure 2.16. Installing Enterprise Web Server from RPM Packages
Install the respective packages (refer to Section 1.1, “Components” and to Section 2.6.2, “RPM Packages” to identify the packages relevant for your installation):
- At the shell prompt, become the root user.
- To install JBoss Enterprise Web Server as a group of packages, run the installation command:
yum groupinstall jboss-ews2
# yum groupinstall jboss-ews2
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To install all packages in the group individually, on Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 5:
yum install <LIST_OF_PACKAGES>
# yum install <LIST_OF_PACKAGES>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# 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 Copied! Toggle word wrap Toggle overflow
- Verify the system is using the correct javac and java (for details refer to Procedure 2.2, “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 hibernate4-javadoc
# 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 hibernate4-javadoc