1. 程式人生 > >nginx-lua(安裝)

nginx-lua(安裝)

1. 下載

wget http://luajit.org/download/LuaJIT-2.0.0.tar.gz

2. 安裝

tar zxf LuaJIT-2.0.0.tar.gz  
cd LuaJIT-2.0.0 
make 
make install 
export LUAJIT_LIB=/usr/local/lib 
export LUAJIT_INC=/usr/local/include/luajit-2.0 
ln -sf /usr/local/lib/libluajit-5.1.so.2 /lib64/libluajit-5.1.so.2