Skip to content

Instantly share code, notes, and snippets.

@xkou
Created January 23, 2014 04:33
Show Gist options
  • Save xkou/8572872 to your computer and use it in GitHub Desktop.
Save xkou/8572872 to your computer and use it in GitHub Desktop.
install tengine with luagit
# git clone https://github.com/simpl/ngx_devel_kit.git
cd tengine-2.0.0/
# tell nginx's build system where to find LuaJIT 2.0:
export LUAJIT_LIB=/usr/local/lib
export LUAJIT_INC=/usr/local/include/luajit-2.0/
# Here we assume Nginx is to be installed under /opt/nginx/.
./configure --prefix=/opt/nginx \
--add-module=~/src/ngx_devel_kit \
--add-module=~/src/lua-nginx-module
make -j2
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment