ubuntu安装apache过程总结
方法
- 下载
wget http://www.apache.org/dist/httpd/httpd-2.0.65.tar.gz
- 解压
tar zxvf httpd-2.0.63.tar.gz
- 进入目录
httpd-2.0.63
- 安装
./configure -prefix=/usr/local/apache2 -enable-module=so
- 编译
make
- 安装
make install
- 启动
/usr/local/apache2/bin/apachectl start
/usr/local/apache2/bin/apachectl restart
- 测试
http://localhost