This installation example utilizes two separate versions of Apache, one for SSL connections and static documents, and the other as the Mod_Perl Application Server. This demonstration combines both Servers on one computer, but two separate computers may also be used for higher performance.
This section describes the steps for installing the Apache SSL Web Server. DataBreeze employs SSL (secure socket layer) for all logins utilizing the Apache module ModSSL. The Apache modules Mod_proxy, mod_rewrite and mod_proxy_add_forward will also be used.
|
Prepare Apache Server - httpd.apache.org
|
|
Fetch and unpack the Apache distribution
|
# cd /opt
# mkdir tmp
Download latest from http://www.apache.org/dist/httpd/
Move distribution to /opt/tmp/
# cd /opt/tmp/
# gunzip apache_1.3.22.tar.gz
# tar xvf apache_1.3.22.tar
|
|
Install Shared Memory Module - http://www.engelschall.com/sw/mm/
|
|
Shared Memory Library - Performance enhancement for SSL session handling.
|
Download latest from http://www.engelschall.com/sw/mm/
Move distribution to /opt/tmp/
# cd /opt/tmp/
# gunzip mm-1.1.3.tar.gz
# tar xvf mm-1.1.3.tar
# cd mm-1.1.3/
# ./configure --disable-shared
# make
# make install
|
|
Install ModSSL - www.modssl.org
|
|
Library for Apache Secure Socket Layer functionality. Requires OpenSSL which is included in RedHat 7.2.
|
Download latest from http://www.modssl.org/source/
Move distribution to /opt/tmp/
# cd /opt/tmp
# gunzip mod_ssl-2.8.5-1.3.22.tar.gz
# tar xvf mod_ssl-2.8.5-1.3.22.tar
# cd mod_ssl-2.8.5-1.3.22/
Utilize your own existing certificate or create a new one. Tips found at: modssl.org/docs/2.8/
This example places the ssl files in the '/opt/conf/ssl' directory. Replace 'databreeze' filenames with your own.
# ./configure --with-apache=../apache_1.3.22 --with-crt=/opt/conf/ssl/www.databreeze.com.crt --with-key=/opt/conf/ssl/www.databreeze.com.key
|
|
Install mod_proxy_add_forward - http://develooper.com/code/mpaf/
|
|
Copy the mod_proxy_add_forward.c file into the apache source
|
Download latest from http://develooper.com/code/mpaf/
Move file into the apache module source
# mv mod_proxy_add_forward.c /opt/tmp/apache_1.3.22/src/modules/extra/
|
|
Install Apache
|
|
Configure, compile and install apache with mod_ssl, mod_rewrite, mod_proxy and mod_add_forward.c
|
SSL_BASE=/usr/bin/openssl
EAPI_MM=../mm-1.1.3
./configure --prefix=/opt/apache-ssl --enable-module=ssl --enable-module=rewrite --enable-module=proxy --activate-module=src/modules/extra/mod_proxy_add_forward.c --enable-module=proxy_add_forward
make
make install
|