标签:add for nload col 模块 target div efi 2.0
1、安装LuaJIT,LuaJIT为LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language
wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz tar -zxvf LuaJIT-2.0.5.gz && cd LuaJIT-2.0.5 make && make install PREFIX=/usr/local/luajit
#导入两个环境变量
export LUAJIT_LIB=/usr/local/luajit/lib
export LUAJIT_INC=/usr/local/luajit/include/luajit-2.0
2、下载ngx_devel_kit、和lua-nginx-module
wget https://github.com/simplresty/ngx_devel_kit/archive/v0.3.1rc1.tar.gz tar -xzvf ngx_devel_kit-0.3.1rc1.tar.gz wget https://github.com/openresty/lua-nginx-module/archive/v0.10.14rc3.tar.gz tar -xzvf v0.10.14rc3.tar.gz
按前一篇文章的步骤重新编译nginx即可,RedHat 6.6下安装nginx,配置HTTPS,注意在configure时候新增参数
--add-module=/root/ngx_devel_kit-0.3.1rc1 --add-module=/opt/soft/lua-nginx-module-0.10.8
标签:add for nload col 模块 target div efi 2.0
原文地址:https://www.cnblogs.com/befer/p/10074141.html