Linux (CentOS6.5) under the compiler installation Nginx official latest stable version (nginx-1.10.0)

Source: Internet
Author: User
Tags openssl

This article address http://comexchan.cnblogs.com/, author Comex Chan, respect intellectual property rights, reproduced Please indicate the source, thank you!

Download related components source code
Component Name Component website Direct
Pcre http://www.pcre.org/ Http://120.52.73.43/jaist.dl.sourceforge.net/project/pcre/pcre/8.38/pcre-8.38.tar.gz
Openssl https://www.openssl.org/source/ Https://www.openssl.org/source/openssl-1.0.2h.tar.gz
Zlib http://zlib.net/ Http://zlib.net/zlib-1.2.8.tar.gz
Nginx http://nginx.org/ Http://nginx.org/download/nginx-1.10.0.tar.gz

Extracting related components
CD/tmptar -zxf nginx-1.10. 0. Tar  tar -zxf pcre-8.38. Tar . GZ tar -zxf zlib-1.2. 8. Tar . GZ tar -zxf openssl-1.0. 2h. tar. gz

Perform the compilation

cd/tmp/nginx-1.10.0
./configure--prefix=/comexhome/nginx--pid-path=/comexhome/nginx/nginx.pid--error-log-path=/comexlog/nginx/ Error.log--http-log-path=/comexlog/nginx/access.log--with-http_ssl_module--with-pcre=/tmp/pcre-8.38--with-zlib =/tmp/zlib-1.2.8--with-openssl=/tmp/openssl-1.0.2h

Compile Complete:

Then perform the Make installation

Make

Execution Complete:

Execute make Install

 Make Install

Verify Nginx:

/comexhome/nginx/sbin/nginx-v

Start Nginx to verify that you can access

Then access this server's IP or host name, the following page appears to indicate that the installation was successful

Welcome to the next article:

"Linux (CentOS6.5) Nginx Registration system service (start, stop, restart, reload, etc.) & set boot-up"

===================================================

This article address http://comexchan.cnblogs.com/, author Comex Chan, respect intellectual property rights, reproduced Please indicate the source, thank you!

Linux (CentOS6.5) under the compiler installation Nginx official latest stable version (nginx-1.10.0)

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.