预编译环境
./configure --prefix=/usr/local/apache2 --with-ssl --with-include-apr --enable-modules=reallyall --enable-mods-share=reallyall
编译
make --quiet
【注】--quiet会少很多输出
make install
后续配置
配置服务启动文件
cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd