此内容没有您所选择的语言版本。
2.3.2. ZIP Installation Prerequisites
Before installing JBoss Enterprise Web Server on Red Hat Enterprise Linux using the ZIP installation files, ensure the following:
- A supported version of Java is installed (see Section 2.3.3, “Installation Procedures”).
- The following required packages are installed:
- krb5-workstation
- mod_auth_kerb
- elinks (required for the apachectl functionality)
- mailcap. The mailcap package contains
/etc/
mime.types
, which is used by httpd for MIME type mapping extensions. This package is not included in Red Hat Enterprise Linux and must be included.
- The following required packages are installed for Red Hat Enterprise Linux 7:
- The following required packages are installed for Red Hat Enterprise Linux 7:
- apr-util-ldap (required only if you want to use LDAP authentication)
- httpd22 (available in the
jb-ews-2-for-rhel-7-server-rpms
repository) - httpd22-devel (available in the
jb-ews-2-for-rhel-7-server-rpms
repository) - mod_auth_kerb-eap6 (available in the
jb-ews-2-for-rhel-7-server-rpms
repository)
- One of the following packages must be installed as a prerequisite:
apr-devel
orapr-util-devel
.
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.1. Removing tomcatjss Package
Follow this procedure to remove the tomcatjss package:
- At the shell prompt, become the root user.
- Run the following uninstall command:
yum remove tomcatjss
# yum remove tomcatjss
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 2.2. Installing Required Packages
If you are using a system registered with Red Hat Network or Red Hat Subscription Management and subscribed to the appropriate channel or repositories, you may either mount a repository with the packages or install them from the online repository. Follow this procedure to install the packages from the online repository.
Follow this procedure to install the required packages from the online repository:
- Depending on your operating system version, run the respective installation command as the root user:
- On Red Hat Enterprise Linux 6 and 5:
yum install krb5-workstation mod_auth_kerb elinks
# yum install krb5-workstation mod_auth_kerb elinks
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - On Red Hat Enterprise Linux 7:
yum install httpd22 httpd22-devel mod_auth_kerb-eap6 apr-util-ldap krb5-workstation elinks
# yum install httpd22 httpd22-devel mod_auth_kerb-eap6 apr-util-ldap krb5-workstation elinks
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
- When prompted, press y to proceed.
- When the installation is complete, run the following command to check that the packages are installed:
- On Red Hat Enterprise Linux 6 and 5:
rpm -q krb5-workstation mod_auth_kerb elinks
# rpm -q krb5-workstation mod_auth_kerb elinks
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - On Red Hat Enterprise Linux 7:
rpm -q httpd22 httpd22-devel mod_auth_kerb-eap6 apr-util-ldap krb5-workstation elinks
# rpm -q httpd22 httpd22-devel mod_auth_kerb-eap6 apr-util-ldap krb5-workstation elinks
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
If the packages are installed, the command output shows the package names with their version numbers. - Install JBoss Enterprise Web Server either from a ZIP file (Section 2.4, “Installing Enterprise Web Server from a ZIP File”) or from RPMs (Section 2.5, “Installing Enterprise Web Server from RPM Packages”).