Nginx Compilation Configuration Notes

Source: Internet
Author: User
Tags install openssl openssl library sha1

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.