apache:安装
tar -xvzf httpd-2.2.6.tar.gz
cd httpd-2.2.6
./configure --prefix=/home/usr/apache
make
make install
vi PREFIX/conf/httpd.conf 修改配置文件 PREFIX/bin/apachectl -k start 启动
mod_perl安装
% tar -xvzf mod_perl-2.x.xx.tar.gz
% cd modperl-2.0
% perl Makefile.PL MP_APXS=/home/alley/apache/bin/apxs
% make && make test && make install