Created
September 17, 2016 12:12
-
-
Save JimmyVV/81d6139c41bcde1b614ac5cc52e33b73 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
#!/bin/bash | |
cd /usr/local/src | |
wget -O openssl.tar.gz -c https://www.openssl.org/source/openssl-1.1.0.tar.gz | |
tar zxf openssl.tar.gz | |
mv openssl-1.1.0/ openssl | |
wget -c https://nginx.org/download/nginx-1.11.4.tar.gz | |
tar zxf nginx-1.11.4.tar.gz | |
cd nginx-1.11.4/ | |
./configure --prefix=/usr/local/nginx \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--with-openssl=../openssl \ | |
--with-http_v2_module \ | |
--with-http_ssl_module \ | |
--with-http_gzip_static_module | |
make && sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment