- or download this
sudo apt-get update
sudo apt-get install build-essential libssl-dev -y
- or download this
wget http://apache.bglam.com/httpd/httpd-2.2.15.tar.gz
wget http://www.cpan.org/src/perl-5.10.1.tar.gz
...
tar -xvf httpd-2.2.15.tar.gz
tar -xvf perl-5.10.1.tar.gz
tar -xvf mod_perl-2.0-current.tar.gz
- or download this
cd httpd-2.2.15
./configure --prefix=/opt/httpd --with-mpm=prefork
make
sudo make install
cd
- or download this
cd perl-5.10.1
...
make
make test
sudo make install
- or download this
cd /usr/local/bin
sudo ln -isv /opt/perl/bin/perl perl
sudo ln -isv /opt/perl/bin/cpanp cpanp
cd
- or download this
cpanp
>s conf prereqs 1
>s save
>i Bundle::ApacheTest
- or download this
Test Summary Report
-------------------
...
The tests for 'Bundle::Apache2' failed. Would you like me to proceed a
+nyway or should we abort?
Proceed anyway? [y/N]: y
- or download this
Module 'Bundle::Apache2' installed successfully
No errors installing all modules
- or download this
LoadModule perl_module modules/mod_perl.so
- or download this
sudo /opt/httpd/bin/apachectl start
cat /opt/httpd/logs/error_log
[Sun Apr 04 12:53:04 2010] [notice] Apache/2.2.15 (Unix) mod_perl/2.0.
+4 Perl/v5.10.1 configured -- resuming normal operations
- or download this
[Mon Apr 05 12:24:50 2010] [notice]
Apache/2.2.15 (Unix)
mod_perl/2.0.4
Perl/v5.10.1 configured
-- resuming normal operations