OS: centos7 minimal
0. prepare
1) gcc
$yum install gcc
2) PCRE
$yum -y install pcre-devel
3) zlib
$yum install zlib-devel
4) OpenSSL
default directory: /usr/ssl
(1) down
$wget https://www.openssl.org/source/openssl-1.0.2o.tar.gz
(2) perl
$yum install perl
(3) setup
$./config --prefix=/usr --shared $make
Root permission Required
$make install
1. install
1) down
$curl --progress https://nginx.org/download/nginx-1.14.0.tar.gz | tar xz
2) setup
$./configure --prefix=/usr/local/nginx --with-openssl=/usr/ssl $make
Root permission Required
$make install
Reference: