1、设置: 每条语句后加 “\”,可使连接的多条语句一起执行
./configure --prefix=/usr/local/http2 \
--enable-modules=all \
--enable-mods-shared=all \
--enable-so
2、安装 apche: make && make install
3、启动 apache 服务:/usr/local/http2/bin/apachectl start/stop/restart
修改apache配置文件httpd.conf: /usr/local/http2/conf/httpd.conf
index.html目录:/usr/local/http2/htdocs