此内容没有您所选择的语言版本。
6.2. Install proxy server components
Task: Install Proxy Server Components
Follow this task to install the JBoss HTTP Connector.
The native components are specific to particular operating system and processor architectures. Refer to the JBoss Enterprise Application Platform Installation Guide to download the correct native components package for your server operating system and processor architecture.
Prerequisites
- An installed Web Server distribution, such as JBoss Enterprise Web Server or HPWS installed (designated by HTTPD_HOME in this documentation).
- JBoss Enterprise Application Platform 5 Native components downloaded.
Extract Apache HTTP Server modules from Native Components download
Extract the four modulesmod_advertise.so,mod_manager.so,mod_proxy_cluster.so,mod_slotmem.sofrom the appropriate Native Components package directory for your processor architecture: eithernative/lib/httpd/modulesornative/lib64/httpd/modules.Copy Apache HTTP Server modules to HTTPD_HOME
Copy the JBoss HTTP Connector modules to theHTTPD_HOME/httpd/modulesdirectory of the JBoss Enterprise Web Server.Disable the mod_proxy_balancer module
Edit the HTTPD configuration fileHTTPD_HOME/httpd/conf/httpd.confand mark the following line as a comment by adding a#character at the start:LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.soCopy to Clipboard Copied! Toggle word wrap Toggle overflow This module is incompatible with the JBoss HTTP Connector.Configure the server to load the JBoss HTTP Connector modules
- Create
HTTPD_HOME/httpd/conf/JBoss_HTTP.conf. - Add the following lines to
HTTPD_HOME/httpd/conf/JBoss_HTTP.conf:LoadModule slotmem_module HTTPD_HOME/modules/mod_slotmem.so LoadModule manager_module HTTPD_HOME/modules/mod_manager.so LoadModule proxy_cluster_module HTTPD_HOME/modules/mod_proxy_cluster.so LoadModule advertise_module HTTPD_HOME/modules/mod_advertise.so
LoadModule slotmem_module HTTPD_HOME/modules/mod_slotmem.so LoadModule manager_module HTTPD_HOME/modules/mod_manager.so LoadModule proxy_cluster_module HTTPD_HOME/modules/mod_proxy_cluster.so LoadModule advertise_module HTTPD_HOME/modules/mod_advertise.soCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Restart the HTTPD service
Refer to HTTPD-specific documentation for detailed instructions.