摘要:
一、下载luajit 2.0http://luajit.org/download.html二、下载nginx源代码http://www.nginx.org/en/download.html三、下载nginx_devel_kithttps://github.com/simpl/ngx_devel_kit/tags四、下载lua-nginx-modulehttps://github.com/chaoslawful/lua-nginx-module/tags五、先安装luajitmake & make install六、设置环境变量:export LUAJIT_LIB=/usr/local/ 阅读全文