Created
September 4, 2015 12:18
-
-
Save tarrex/f004af73c16c1bebbb1d to your computer and use it in GitHub Desktop.
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
wget https://openresty.org/download/ngx_openresty-1.9.3.1.tar.gz | |
tar zxvf ngx_openresty-1.9.3.1.tar.gz | |
cd ngx_openresty-1.9.3.1 | |
yum install postgresql-devel # If you use '--with-http_postgres_module' option. | |
./configure --prefix=/opt/openresty \ | |
--with-luajit \ | |
--with-pcre-jit \ | |
--with-ipv6 \ | |
--without-http_redis2_module \ | |
--with-http_iconv_module \ | |
--with-http_postgres_module \ | |
-j2 | |
make | |
make install | |
cd .. && rm -rf ngx_openresty-1.9.3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment