Skip to content

install at Ubuntu 16.04

gshmu edited this page Dec 7, 2016 · 1 revision
apt-get -y install build-essential git gcc g++ make && mkdir wen.lu && cd wen.lu && git clone https://github.com/cuber/ngx_http_google_filter_module && git clone https://github.com/yaoweibin/ngx_http_substitutions_filter_module && wget "http://nginx.org/download/nginx-1.10.2.tar.gz" && tar xzvf nginx-1.10.2.tar.gz && wget "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz" && tar xzvf pcre-8.39.tar.gz && wget "http://zlib.net/zlib-1.2.8.tar.gz" && tar xzvf zlib-1.2.8.tar.gz &&  wget "https://www.openssl.org/source/openssl-1.1.0c.tar.gz" && tar xzvf openssl-1.1.0c.tar.gz && cd nginx-1.10.2

./configure .--prefix=/opt/nginx-1.10.2 .--with-pcre=../pcre-8.39 .--with-openssl=../openssl-1.1.0c .--with-zlib=../zlib-1.2.8 .--with-http_ssl_module .--add-module=../ngx_http_google_filter_module .--add-module=../ngx_http_substitutions_filter_module && make

make install
/opt/nginx-1.10.2/sbin/nginx 

more history: click

Clone this wiki locally