nginx 安装步骤
1、下载nginx、openssl、pcre、zlib
wget http://nginx.org/download/nginx-1.10.2.tar.gz
wget http://www.openssl.org/source/openssl-fips-2.0.10.tar.gz
wget http://zlib.net/zlib-1.2.11.tar.gz
wget https://netix.dl.sourceforge.net/project/pcre/pcre/8.40/pcre-8.40.tar.gz
2、安装gcc
yum install gcc-c++
3、安装Nginx及相关组件
openssl安装
tar zxvf openssl-fips-2.0.10.tar.gz cd openssl-fips-2.0.10 ./config && make && make install
pcre安装
tar zxvf pcre-8.40.tar.gz cd pcre-8.40 ./configure && make && make install
zlib安装
tar zxvf zlib-1.2.11.tar.gz cd zlib-1.2.11 ./configure && make && make install
nginx安装
tar zxvf nginx-1.10.2.tar.gz cd nginx-1.10.2 ./configure && make && make install