CentOS系统下,如何安装 nginx_lua_module 模块 以及 echo-nginx-module 模块

export LUAJIT_LIB=/usr/local/luajit/lib
export LUAJIT_INC=/usr/local/luajit/include/luajit-2.0
./configure --prefix=/application/nginx --with-ld-opt="-Wl,-rpath,$LUAJIT_LIB" --add-module=/usr/local/ngx_devel_kit --add-module /ngx_echo_module --with-debug

 

make -j2
make install

 

http://ntcn.net/blog/?p=4766

posted @ 2012-10-22 09:10  eprsoft  阅读(297)  评论(0编辑  收藏  举报