Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save developersteve/14337473d6b3b0e92d0c7bb7b33fc765 to your computer and use it in GitHub Desktop.
Save developersteve/14337473d6b3b0e92d0c7bb7b33fc765 to your computer and use it in GitHub Desktop.

Revisions

  1. developersteve revised this gist Jan 13, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -38,6 +38,7 @@ cd openresty-1.9.15.1
    --with-http_sub_module \
    --with-http_xslt_module \
    --with-ipv6 \
    --with-http_v2_module \
    --with-http_postgres_module

    make
  2. @alex-roman alex-roman revised this gist Aug 2, 2016. No changes.
  3. @alex-roman alex-roman revised this gist Aug 2, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,9 @@
    #!/bin/bash
    apt-get -y update
    apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev
    wget -c https://openresty.org/download/openresty-1.9.15.1.tar.gz
    tar zxvf openresty-1.9.15.1.tar.gz
    cd openresty-1.9.15.1
    apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx libpq-dev libxslt1-dev libgd2-xpm-dev

    ./configure \
    --sbin-path=/usr/sbin/nginx \
  4. @alex-roman alex-roman revised this gist Jul 27, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #!/bin/bash
    wget -c https://openresty.org/download/openresty-1.9.7.4.tar.gz
    tar zxvf openresty-1.9.7.4.tar.gz
    cd openresty-1.9.7.1
    wget -c https://openresty.org/download/openresty-1.9.15.1.tar.gz
    tar zxvf openresty-1.9.15.1.tar.gz
    cd openresty-1.9.15.1
    apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx libpq-dev libxslt1-dev libgd2-xpm-dev

    ./configure \
  5. @alex-roman alex-roman revised this gist Apr 10, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #!/bin/bash
    wget -c https://openresty.org/download/ngx_openresty-1.9.7.1.tar.gz
    tar zxvf ngx_openresty-1.9.7.1.tar.gz
    cd ngx_openresty-1.9.7.1
    wget -c https://openresty.org/download/openresty-1.9.7.4.tar.gz
    tar zxvf openresty-1.9.7.4.tar.gz
    cd openresty-1.9.7.1
    apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx libpq-dev libxslt1-dev libgd2-xpm-dev

    ./configure \
  6. @alex-roman alex-roman revised this gist Jan 17, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    wget -c https://openresty.org/download/ngx_openresty-1.9.7.1.tar.gz
    tar zxvf ngx_openresty-1.9.7.1.tar.gz
    cd ngx_openresty-1.9.7.1
    apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx libpq-dev
    apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx libpq-dev libxslt1-dev libgd2-xpm-dev

    ./configure \
    --sbin-path=/usr/sbin/nginx \
  7. @alex-roman alex-roman revised this gist Jan 17, 2016. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,6 @@ apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx li
    --with-http_addition_module \
    --with-http_gunzip_module \
    --with-http_image_filter_module \
    --with-http_spdy_module \
    --with-http_dav_module \
    --with-http_flv_module \
    --with-http_geoip_module \
  8. @alex-roman alex-roman revised this gist Jan 14, 2016. 1 changed file with 12 additions and 5 deletions.
    17 changes: 12 additions & 5 deletions openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,18 @@ apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx li
    --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
    --lock-path=/var/lock/nginx.lock \
    --pid-path=/var/run/nginx.pid \
    --with-sha1=/usr/include/openssl \
    --with-md5=/usr/include/openssl \
    --with-http_stub_status_module \
    --with-http_secure_link_module \
    --with-luajit \
    --with-pcre-jit \
    --with-debug \
    --with-http_auth_request_module \
    --with-http_addition_module \
    --with-http_gunzip_module \
    --with-http_image_filter_module \
    --with-http_spdy_module \
    --with-http_dav_module \
    --with-http_flv_module \
    --with-http_geoip_module \
    @@ -25,12 +36,8 @@ apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx li
    --with-http_stub_status_module \
    --with-http_ssl_module \
    --with-http_sub_module \
    --with-http_xslt_module \
    --with-ipv6 \
    --with-sha1=/usr/include/openssl \
    --with-md5=/usr/include/openssl \
    --with-http_stub_status_module \
    --with-http_secure_link_module \
    --with-http_sub_module \
    --with-http_postgres_module

    make
  9. @alex-roman alex-roman created this gist Dec 30, 2015.
    39 changes: 39 additions & 0 deletions openresty-ubuntu-install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    #!/bin/bash
    wget -c https://openresty.org/download/ngx_openresty-1.9.7.1.tar.gz
    tar zxvf ngx_openresty-1.9.7.1.tar.gz
    cd ngx_openresty-1.9.7.1
    apt-get -y install build-essential libpcre3-dev libssl-dev libgeoip-dev nginx libpq-dev

    ./configure \
    --sbin-path=/usr/sbin/nginx \
    --conf-path=/etc/nginx/nginx.conf \
    --error-log-path=/var/log/nginx/error.log \
    --http-client-body-temp-path=/var/lib/nginx/body \
    --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
    --http-log-path=/var/log/nginx/access.log \
    --http-proxy-temp-path=/var/lib/nginx/proxy \
    --http-scgi-temp-path=/var/lib/nginx/scgi \
    --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
    --lock-path=/var/lock/nginx.lock \
    --pid-path=/var/run/nginx.pid \
    --with-luajit \
    --with-http_dav_module \
    --with-http_flv_module \
    --with-http_geoip_module \
    --with-http_gzip_static_module \
    --with-http_realip_module \
    --with-http_stub_status_module \
    --with-http_ssl_module \
    --with-http_sub_module \
    --with-ipv6 \
    --with-sha1=/usr/include/openssl \
    --with-md5=/usr/include/openssl \
    --with-http_stub_status_module \
    --with-http_secure_link_module \
    --with-http_sub_module \
    --with-http_postgres_module

    make
    make install
    apt-get -y autoclean
    apt-get -y autoremove