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
本文详细介绍了如何下载、安装并配置Apache HTTP服务器及mod_python模块,包括配置文件、安装步骤以及启动与关闭服务器的方法。
620

被折叠的 条评论
为什么被折叠?



