运行环境: debian
安装过程:
- 下载nginx 源代码: http://nginx.org/en/download.html
- 安装依赖包: lua, luajit, $ apt-get install lua5.1 luajit libluajit-5.1-common libluajit-5.1-dev
- 配置: $ ./configure --add-module=../modules/lua-nginx-module/ --prefix=/home/yy/Share/web-server/nginx
- 编译,安装: $ make; make install