Help for this page

Select Code to Download


  1. or download this
    sudo apt-get update
    sudo apt-get install build-essential libssl-dev -y
    
  2. 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
    
  3. or download this
    cd httpd-2.2.15
    ./configure --prefix=/opt/httpd --with-mpm=prefork
    make
    sudo make install
    cd
    
  4. or download this
    cd perl-5.10.1
    
    ...
    make
    make test
    sudo make install
    
  5. or download this
    cd /usr/local/bin
    sudo ln -isv /opt/perl/bin/perl perl
    sudo ln -isv /opt/perl/bin/cpanp cpanp
    cd
    
  6. or download this
    cpanp
    >s conf prereqs 1
    >s save
    >i Bundle::ApacheTest
    
  7. 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
    
  8. or download this
    Module 'Bundle::Apache2' installed successfully
    No errors installing all modules
    
  9. or download this
    LoadModule perl_module modules/mod_perl.so
    
  10. 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
    
  11. 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