nginx Luajit Install luarocks and install Luafilesystemby admin on -- -- One ,: to: at inch, 69 times the title is a bit around the mouth. I try to put all the keywords in. Before because of their own Nginx installed Ngx_lua module, but also need to introduce but install Luafilesystem and need to install luarocks first, more cumbersome. Here we want to record the installation process. Nginx Installation Ngx_lua module can refer to: LNMP smooth upgrade nginx and install Ngx_lua module tutorial below to get to the point download: wget http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gzUnzip: Tar-ZXVF luarocks-2.2.2. Tar.gz Entry directory: CD luarocks-2.2.2install Luarocks./configure--with-lua="/usr/local"--lua-suffix="JIT"--with-lua-include="/usr/local/include/luajit-2.0"where "/usr/local/include/luajit-2.0"Can find/-name Lua.h First find the next path make Buildmake install luafilesystemluarocks installed Luafilesystem
Nginx Luajit installs the Luarocks and installs the Luafilesystem