1. 下载,安装httpd
2. 下载,安装mod_python
$ ./configure --prefix=/opt/apps/httpd
$ make
$ make install
$ sudo ln -s /opt/apps/httpd/bin/apachectl /usr/bin/apachectl
$ sudo apachectl start #启动
$ sudo apachectl stop # 关闭
2. 下载,安装mod_python
$ ./configure --with-apxs=/opt/apps/httpd-2.2.21/bin/apxs \
--with-python=/usr/bin/python
$ make
$ sudo make install