Skip to content

Instantly share code, notes, and snippets.

@bitkevin
Forked from zzmmzz777/install_openresty.sh
Last active September 2, 2016 04:04
Show Gist options
  • Save bitkevin/b2eedec6862adac6c45328855a9da8ac to your computer and use it in GitHub Desktop.
Save bitkevin/b2eedec6862adac6c45328855a9da8ac to your computer and use it in GitHub Desktop.
Openresty + http2 + nginx_http_concat on Ubuntu 14.04
ROOT=/work/nginx
mkdir -p "$ROOT"
cd "$ROOT"
apt-get install -y libpcre3 libpcre3-dev
# download packages
wget http://nginx.org/download/nginx-1.10.1.tar.gz
tar zxf nginx-1.10.1.tar.gz
cd nginx-1.10.1
./configure \
--prefix="$ROOT" \
--with-stream
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment