In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "what are the Nginx source code compilation parameters", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor to take you to learn "what are the Nginx source code compilation parameters?"
Detailed description of nginx source code compilation parameters-prefix= points to the installation directory-sbin-path points to the program file (nginx)-conf-path= points to the configuration file (nginx.conf)-error-log-path= points to the error log directory-pid-path= points to the pid file (nginx.pid)-lock-path= points to the lock file (nginx.lock) (the installation file is locked to prevent the installation file from being used by others, or its own misoperation. )-- user= specifies unprivileged users when the program is running-- group= specifies the unprivileged user group when the program is running-- builddir= points to the compilation directory-- with-rtsig_module enables rtsig module support (real-time signals)-- with-select_module enables select module support (a polling mode, not recommended for high-load environments)-- without-select_module disables select module-- with-poll_module enables poll module support (same as select) Same as select feature, it is a polling mode and is not recommended for high-load environments)-- with-file-aio enables file aio support (an APL file transfer format)-- with-ipv6 enables ipv6 support-- with-http_ssl_module enables ngx_http_ssl_module support (enables https requests) Need to have installed openssl)-with-http_realip_module enables ngx_http_realip_module support (this module allows the client's IP address value to be changed from the request header, default is off)-with-http_addition_module enables ngx_http_addition_module support (as an output filter, incomplete buffering is supported Partial response request)-with-http_xslt_module enables ngx_http_xslt_module support (filtering translation XML requests)-with-http_image_filter_module enables ngx_http_image_filter_module support (a filter for transmitting JPEG/GIF/PNG images) (not enabled by default. Gd library to be used)-with-http_geoip_module enables ngx_http_geoip_module support (this module creates ngx_http_geoip_module variables based on client IP addresses that match MaxMind GeoIP binaries)-with-http_sub_module enables ngx_http_sub_module support (allows some text in nginx responses to be replaced with some other text)-with-http_dav_module enables ngx_http_dav_module support (adding PUT,DELETE MKCOL: create a collection, COPY and MOVE methods) off by default Need to compile to enable-- with-http_flv_module enables ngx_http_flv_module support (provides time-based offset files seeking memory usage)-- with-http_gzip_static_module enables ngx_http_gzip_static_module support (online real-time compression of output data streams)-- with-http_random_index_module enables ngx_http_random_index_module support (randomly selects a directory from the directory Quote)-- with-http_secure_link_module enables ngx_http_secure_link_module support (secure link URLs required to calculate and check requirements)-- with-http_degradation_module enables ngx_http_degradation_module support (allows 204or 444 yards to be returned in case of insufficient memory)-- with-http_stub_status_module enables ngx_http_stub_status_module support (get nginx since nginx was last started Working status)-without-http_charset_module disables ngx_http_charset_module support (re-encodes web pages But it can only be in one direction-server to client, and only one byte of encoding can be re-encoded)-without-http_gzip_module disables ngx_http_gzip_module support (this module is the same as-with-http_gzip_static_module function)-without-http_ssi_module disables ngx_http_ssi_module support (this module provides a filter to process server included files (SSI) on the input side The current list of SSI commands is incomplete-- without-http_userid_module disables ngx_http_userid_module support (this module is used to process the cookies used to determine subsequent client requests)-- without-http_access_module disables ngx_http_access_module support (this module provides a simple host-based access control. Allow / deny based on ip address)-without-http_auth_basic_module disable ngx_http_auth_basic_module (this module can use username and password based on http basic authentication method to protect your site or part of its content)-without-http_autoindex_module disable disablengx_http_autoindex_module support (this module is used to automatically generate directory lists and make requests only when the ngx_http_index_module module does not find the index file. )-- without-http_geo_module disables ngx_http_geo_module support (creates variables whose values depend on the client's IP address)-- without-http_map_module disables ngx_http_map_module support (sets configuration variables using any key / value pair)-- without-http_split_clients_module disables ngx_http_split_clients_module support (this module is used to divide users based on certain conditions. Conditions such as ip address, header, cookies, etc.)-without-http_referer_module disables disable ngx_http_referer_module support (this module is used to filter requests and reject requests with incorrect referer values in the header)-without-http_rewrite_module disables ngx_http_rewrite_module support
This module allows you to change the URI using regular expressions, and to redirect and select configurations based on variables.
If this option is set at the server level, they will take effect before location.
If there are further rewriting rules in location, the rules in the location section will still be enforced.
If this URI rewrite is caused by the rules of the location part, then the location part will be executed as the new URI again.
The loop will be executed 10 times, and Nginx will return a 500 error.
-- without-http_proxy_module disables ngx_http_proxy_module support (for proxy servers)-- without-http_fastcgi_module disables ngx_http_fastcgi_module support (this module allows Nginx to interact with FastCGI processes and controls the FastCGI process to work by passing parameters. FastCGI a resident public gateway interface -- without-http_uwsgi_module disables ngx_http_uwsgi_module support (this module is used for medical uwsgi protocol, related to uWSGI server)-- without-http_scgi_module disables ngx_http_scgi_module support (this module is used to enable SCGI protocol support, and SCGI protocol is an alternative to CGI protocol. It is a standard for the interface between applications and HTTP services. It's a bit like FastCGI, but his design is easier to implement. )-- without-http_memcached_module disables ngx_http_memcached_module support (this module is used to provide simple caching to improve system efficiency)-without-http_limit_zone_module disables ngx_http_limit_zone_module support (this module can be conditional Control the number of concurrent connections for sessions)-without-http_limit_req_module disables ngx_http_limit_req_module support (this module allows you to limit the number of requests for an address with a given session or a specific event)-without-http_empty_gif_module disables ngx_http_empty_gif_module support (the module hosts a transparent GIF image of 1x1 in memory Can be called very quickly)-without-http_browser_module disables ngx_http_browser_module support (this module is used to create values that depend on the request header. If the browser is modern, $modern_browser is equal to the value assigned by the modern_browser_value instruction; if the browser is old, $ancient_browser is equal to the value assigned by the ancient_browser_value instruction If the browser is any version of MSIE Then $msie equals 1)-- without-http_upstream_ip_hash_module disables ngx_http_upstream_ip_hash_module support (this module is used for simple load balancing)-- with-http_perl_module enables ngx_http_perl_module support (this module enables nginx to use perl directly or call perl through ssi)-- with-perl_modules_path= sets the perl module path-- with-perl= sets the perl library file path-- Http-log-path= sets access log path-- http-client-body-temp-path= sets http client request temporary file path-- http-proxy-temp-path= sets http agent temporary file path-- http-fastcgi-temp-path= sets http fastcgi temporary file path-- http-uwsgi-temp-path= sets http uwsgi temporary file path-- http-scgi-temp-path= sets http scgi temporary file path-without-http disables http Server function-without-http-cache disables http cache function-with-mail enables POP3/IMAP4/SMTP proxy module support-with-mail_ssl_module enables ngx_mail_ssl_module support-without-mail_pop3_module disables pop3 protocol (POP3 is the third version of the post office protocol It is a protocol that specifies how a personal computer connects to a mail server on the Internet to send and receive mail. It is the first offline protocol standard for Internet e-mail. The POP3 protocol allows users to store messages from the server to the local host, while deleting or saving messages on the mail server according to the operation of the client. The POP3 protocol is a member of the TCP/IP protocol family and is mainly used to support the use of clients to remotely manage e-mail on the server)-without-mail_imap_module disables the imap protocol, a mail acquisition protocol. Its main function is that the mail client can obtain the mail information and download the mail from the mail server through this protocol. The IMAP protocol runs on top of the TCP/IP protocol and uses port 143s. The main difference between it and POP3 protocol is that users can operate the mail on the server directly through the client instead of downloading all the emails. Without-mail_smtp_module disables the smtp protocol (SMTP is the simple Mail transfer Protocol, which is a set of rules for sending messages from source to destination, which controls how messages are transferred. The SMTP protocol, which belongs to the TCP/IP protocol family, helps each computer find its next destination when sending or transferring a letter. )-- with-google_perftools_module enables ngx_google_perftools_module support (for debugging, profiling program performance bottlenecks)-- with-cpp_test_module enables ngx_cpp_test_module support-- add-module= enables external module support-- with-cc= points to C compiler path-- with-cpp= points to C preprocessing path-- with-cc-opt= sets C compiler parameters (PCRE library) You need to specify-with-cc-opt= "- I / usr/local/include". If you use the select () function, you need to increase the number of file descriptors at the same time, which can be specified by-with-cc-opt= "- D FD_SETSIZE=2048". )-- with-ld-opt= sets the connection file parameters. (PCRE library, you need to specify-with-ld-opt= "- L / usr/local/lib". )-- with-cpu-opt= specifies the compiled CPU. Available values are: pentium, pentiumpro, pentium3, pentium4, athlon, opteron, amd64, sparc32, sparc64, ppc64--without-pcre disable pcre library-with-pcre enables pcre library-with-pcre= points to pcre library file directory-with-pcre-opt= sets additional parameters for pcre library at compile time-with-md5= points to md5 library file directory (message Digest algorithm version 5) To provide message integrity protection)-- with-md5-opt= sets additional parameters for the md5 library at compile time-- with-md5-asm uses md5 assembly source-- with-sha1= points to the sha1 library directory (digital signature algorithm) (mainly used for digital signature)-- with-sha1-opt= sets additional parameters for sha1 libraries at compile time-- with-sha1-asm uses sha1 assembly sources-- with-zlib= points to zlib library directories-- with-zlib-opt= sets additional parameters for zlib at compile time-- with-zlib-asm= optimizes using zlib assembly sources for specified CPU. CPU type for pentium, pentiumpro--with-libatomic for the atomic memory update operation to provide a framework-with-libatomic= points to the libatomic_ops installation directory-with-openssl= points to the openssl installation directory-with-openssl-opt sets additional parameters for openssl at compilation time-with-debug enables debug logs to this point, I believe you have a deeper understanding of the "Nginx source code compilation parameters", might as well come to the actual operation! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.