|
Prepare Apache Server - httpd.apache.org
|
|
Unpack the Apache distribution
|
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 Mod_Perl Module - perl.apache.org
|
|
Fetch, unpack and build Mod_Perl
|
Download latest from http://perl.apache.org/dist/mod_perl_1.26.tar.gz
Move distribution to /opt/tmp/
# cd /opt/tmp/
# tar xvf mod_perl-1.26.tar
# cd mod_perl-1.26/
# perl Makefile.PL APACHE_SRC=../apache_1.3.22 DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
# make
# make install
|
|
Install Apache
|
|
Configure, compile and install Apache with Mod_Perl
|
# ./configure --prefix=/opt/apache-perl --activate-module=src/modules/perl/libperl.a
# make
# make install
|
|
Clean Up
|
|
Remove the install packages
|
Remove the temporary directory used to build the Apache Sources
# rm -rf /opt/tmp/*
|