openresty安装第三方库,openresty第三方库


1、编译安装openresty

2、下载luarocks

wget https://luarocks.org/releases/luarocks-2.4.4.tar.gz

./configure --with-lua="/usr/local/openresty/luajit" --prefix="/usr/local/openresty/luarocks" --lua-suffix="jit" --with-lua-include="/usr/local/openresty/luajit/include/luajit-2.1" --force-config

make install && make 

 /usr/local/openresty/luarocks/bin/luarocks install lua-iconv

安装的库都在/usr/local/openresty/luarocks/lib/lua/5.1/下面


相关内容

    暂无相关文章