借鉴自apache安装教程。
Extract | $ gzip -d httpd-NN.tar.gz |
Configure | $ ./configure --prefix=PREFIX |
Compile | $ make |
Install | $ make install |
Customize | $ vi PREFIX/conf/httpd.conf |
Test | $ PREFIX/bin/apachectl -k start |
NN must be replaced with the current version number, and PREFIX must be replaced with the filesystem path under which the server should be installed. If PREFIX is not specified, it defaults to /usr/local/apache2
.
具体可以再看:
http://httpd.apache.org/docs/2.4/install.html
本文转自 天涯飞客 51CTO博客,原文链接:http://blog.51cto.com/425093014/1035868,如需转载请自行联系原作者