Skip to content

Instantly share code, notes, and snippets.

@zhaohuanltbl
zhaohuanltbl / ngx-lua.sh
Created November 11, 2015 02:24 — forked from Ryan4CN/ngx-lua.sh
Script to compile nginx on ubuntu with lua support.
#!/bin/sh
apt-get install -y libreadline-dev libncurses5-dev libpcre3-dev \
libssl-dev perl make build-essential
# Script to compile nginx on ubuntu with lua support.
NGX_VERSION='1.8.0'
LUAJIT_VERSION='2.0.4'
LUAJIT_MAJOR_VERSION='2.0'