Linux source code installation nginx tutorial, linux source code nginx

Source: Internet
Author: User

Linux source code installation nginx tutorial, linux source code nginx

Install nginx in source code in two phases

1. Download nginx source code

2. Check the installation documentation, determine the installation options based on your actual situation, and install the SDK through the command line.

. /Configure -- prefix =/usr/local/nginx/-- sbin-path =/usr/local/nginx/sbin/nginx -- conf-path =/usr/local/nginx/conf /nginx. conf -- pid-path =/usr/local/nginx/logs/nginx. pid -- error-log-path =/usr/local/nginx/logs/error. log -- http-log-path =/usr/local/nginx/logs/access. log -- user = nginx -- group = nginx -- with-http_ssl_module -- with-pcre =/usr/local/src/pcre-8.36/-- with-pcre-jit -- with-zlib =/usr/local /src/zlib-1.0.11/

Note: The pcre and zlib are not the addresses you have installed for the program, but the addresses where the source code of the program is extracted.

Make & make install

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.