LuaJIT

Lua官网下载tar.gz安装包,

tar -zxvf LuaJIT-2.0.5.tar.gz
cd LuaJIT-2.0.5
make -j 16
make install PREFIX=/backup/home/misaraty/soft/luajit

修改.bashrc,

#luajit
export PATH=$PATH:/backup/home/misaraty/soft/luajit/bin
export LUAJIT_LIB=/backup/home/misaraty/soft/luajit/lib
export LUAJIT_INC=/backup/home/misaraty/soft/luajit/include/luajit-2.0

Lua教程-菜鸟教程

Lua教程-极客学院

OpenResty