Securing-Optimizing-RH-Linux-1_2_364
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
364
The source path is /var/tmp (other paths are possible).
Installations were tested on RedHat Linux 6.1.
All steps in the installation will happen in superuser account root.
Apache version number is 1_3_12
Mod_SSL version number is 2_6_2-1_3_12
Mod_Perl version number is 1.21
PHP version number is 4_0
Packages
Apache Homepage: http://www.apache.org/
You must be sure to download: apache_1_3_12_tar.gz
Mod_ssl Homepage: http://www.modssl.org/
You must be sure to download: mod_ssl-2_6_2-1_3_12_tar.gz
Mod_perl Homepage: http://perl.apache.org/
You must be sure to download: mod_perl-1.21.tar.gz
Mod_php Homepage: http://www.php.net/
You must be sure to download: php-4_0_tar.gz
Prerequisites
u OpenSSL should be already installed in your system if you want Apache and SSL
encryption support.
u PosgreSQL should be already installed on your system if you want Apache and
PostgreSQL database connectivity support.
u MM should be already installed on your system if you want Apache and MM high-
performance RAM-based session cache support.
u OpenLDAP should be already installed on your system if you want Apache and LDAP
directory connectivity support.
u IMAP & POP should be already installed on your system if you want Apache and IMAP &
POP capability.
NOTE: For more information on the require software, see their related chapter in this book.
Tarballs
It is a good idea to make a list of files on the system before you install Apache, and one
afterwards, and then compare them using diff to find out what file it placed where. Simply run
find /* > apache1 before and find /* > apache2 after you install the softwares, and use diff
apache1 apache2 > apache to get a list of what changed.
Compilation
Decompress the tarballs (tar.gz).
[root@deep /]# cp apache_version_tar.gz /var/tmp
[root@deep /]# cp mod_ssl-version-version_tar.gz /var/tmp
[root@deep /]# cp mod_perl-version.tar.gz /var/tmp
[root@deep /]# cp php-version_tar.gz /var/tmp
[root@deep /]# cd /var/tmp/
[root@deep tmp]# tar xzpf apache_version_tar.gz