Created
January 23, 2014 04:33
-
-
Save xkou/8572872 to your computer and use it in GitHub Desktop.
install tengine with luagit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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