标签:linux nginx yum openssl gcc
一、下载pcre
官网下载:http://www.pcre.org/
# wget http://sourceforge.net/projects/pcre/files/pcre/8.35/pcre-8.35.tar.gz/download# cd /pcre-8.35
二、下载purge模块(用于删除Nginx缓存)
# wget http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz
# tar zxvf ngx_cache_purge-2.1.tar.gz
# ./configure --prefix=/usr/local/zlib
# make && make install
四、安装openssl
# wget http://www.openssl.org/source/openssl-1.0.1h.tar.gz
# cd openssl-1.0.1h.tar.gz
# tar zxfv openssl-1.0.1h.tar.gz
# cd openssl-1.0.1h
# ./config安装:make && make install
注:如果出现:error: ‘ngx_http_file_cache_node_t‘ has no member named ‘length‘异常,可能是ngx_cache_purge-2.1.tar.gz版本太旧导致
Linux下Nginx的安装步骤,布布扣,bubuko.com
标签:linux nginx yum openssl gcc
原文地址:http://blog.csdn.net/fengyily/article/details/35569671