- cd lnmp/src
- wget http://luajit.org/download/LuaJIT-2.0.2.tar.gz
- wget https://github.com/simpl/ngx_devel_kit/archive/v0.2.19.tar.gz #ngx_devel_kit
- wget https://github.com/chaoslawful/lua-nginx-module/archive/v0.9.2.tar.gz #nginx_lua_module
- tar xzf LuaJIT-2.0.2.tar.gz
- tar xzf v0.2.19.tar.gz
- tar xzf v0.9.2.tar.gz
- cd LuaJIT-2.0.2
- make && make install
- export LUAJIT_LIB=/usr/local/lib
- export LUAJIT_INC=/usr/local/include/luajit-2.0
- cd nginx-1.4.4
- make clean #清除已经编译出的nginx
- # /usr/local/nginx/sbin/nginx -V #获取已编译参数
- nginx version: nginx/1.4.4
- built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
- TLS SNI support enabled
- configure arguments: --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --with-http_flv_module --with-http_gzip_static_module --with-ld-opt='-ljemalloc'
- 此修改方式无法套用在该集成环境下,请问该集成环境下该如何修改?
4 Answers
1、lua修改,但是走到重新编译就走不下去了,OneinStack集成环境下显示内容比这个要多的多,从编译的./configure找不到在哪个目录下面。
2、ngx_http_lower_upper_case方法该怎么使用
2、ngx_http_lower_upper_case方法该怎么使用
Please login or Register to submit your answer