2、安装Luajit2.0.2 make make install 3、安装nginx export LUAJIT_LIB=/usr/local/lib export LUAJIT_INC=/usr/local/include/luajit-2.0 ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --add-module=../lua-nginx-module-0.9.15 --add-module=../ngx_devel_kit-0.2.19 make -j4 make install echo