1, http://nginx.org/download/nginx-1.6.3.tar.gz
2.
[Email protected] nginx-1.6.3]#./configure--prefix=/usr/local/nginx-------------------------------------------- ----------./configure:error:the HTTP Rewrite module requires the PCRE library. You can either disable the module by using--without-http_rewrite_module./configure:error:the HTTP gzip module requires The Zlib library. You can either disable the module by using--WITHOUT-HTTP_GZIP_ Module--------------------------------------------------------Configuration Summary + PCRE library is not used + OpenSSL Library is not used + using builtin MD5 code + SHA1 library are not found + zlib library are not Used
3.
[[email protected] nginx-1.6.3]# yum-y install pcre*[[email protected] nginx-1.6.3]# yum-y Install zlib*[[ Email protected] nginx-1.6.3]# yum-y install openssl*[[email protected] nginx-1.6.3]#./configure--prefix= /usr/local/nginx--with-http_ssl_module------------------------------------------------------------- Configuration Summary + using System PCRE Library + using System OpenSSL library + md5:using OpenSSL library + SHA1: Using OpenSSL library + using System zlib library--------------------------------------------------------------Ngin X path prefix: "/usr/local/nginx" nginx binary file: "/usr/local/nginx/sbin/nginx" nginx configuration prefix: "/usr/loc al/nginx/conf "Nginx configuration file:"/usr/local/nginx/conf/nginx.conf "nginx pid file:"/usr/local/nginx/logs/ Nginx.pid "Nginx error log file:"/usr/local/nginx/logs/error.log "Nginx http access log file:"/usr/local/nginx/logs/ac Cess.log "Nginx HTTP client request body temporary FIles: "client_body_temp" nginx http proxy temporary files: "proxy_temp" Nginx http fastcgi temporary files: "Fastcgi_tem P "nginx http Uwsgi temporary files:" uwsgi_temp "Nginx http scgi temporary files:" Scgi_temp "
Nginx Compilation Configuration Notes