![]() When using the system PCRE library under FreeBSD, the mandatory value is -with-cc-opt="-I /usr/local/include". ParameterĪdditional parameters that are added to the CFLAGS variable. With the configure script you can also specify compiler‑related options. Path to the source for the zlib library, which is required by the Gzip module. Path to the source for the PCRE library, which is required for regular expressions support in the location directive and the Rewrite module.īuilds the PCRE library with “just-in-time compilation” support (the pcre_jit directive). Default: the value set by the -user option. ![]() After installation, the name can be changed with the user directive in the NGINX configuration file. Name of the group whose credentials are used by the NGINX worker processes. Name of the unprivileged user whose credentials are used by the NGINX worker processes. After installation, the filename can always be changed with the access_log directive in the NGINX configuration file. Name of the primary log file for requests to the HTTP server. After installation, the filename can be changed with the error_log directive in the NGINX configuration file. Name of the primary log file for errors, warnings, and diagnostic data. After installation, the path to the filename can be changed with the pid directive in the NGINX configuration file. ![]() Name of the nginx.pid file, which stores the process ID of the nginx master process. You can, however, always override this value at startup by specifying a different file with the -c option on the nginx command line. Name of the NGINX executable file, which is used only during installation. Parameterĭirectory for NGINX files, and the base location for all relative paths set by the other configure script options (excluding paths to libraries) and for the path to the nf configuration file. The configure script allows you to set paths to NGINX binary and configuration files, and to dependent libraries such as PCRE or SSL, in order to link them statically to the NGINX binary. add-dynamic-module =/usr/build/3party_module add-module =/usr/build/nginx-rtmp-module Installing a Prebuilt CentOS/RHEL/ Oracle Linux/AlmaLinux/Rocky Linux Package from an OS Repository You have to set up the yum repository the first time, but after that the provided package is always up to date. This is the quickest way, but generally the provided package is outdated. A default RHEL / CentOS / Oracle Linux / AlmaLinux / Rocky Linux repository.provides packages for the following CentOS, Oracle Linux, RHEL, AlmaLinux and Rocky Linux versions: Version Installing Prebuilt RHEL, CentOS, Oracle Linux, AlmaLinux, Rocky Linux Packages See Source packages at for the list of modules included in each prebuilt package. See Linux packages at for the list of currently supported operating systems. Prebuilt packages are available for most popular Linux distributions, including CentOS, Debian, Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), and Ubuntu. Installing NGINX Open Source from a package is much easier and faster than building from source, but building from source enables you to compile in non-standard modules. See Compiling and Installing from Source for details. This way is more flexible: you can add particular modules, including third‑party modules, or apply the latest security patches. ![]() The package includes almost all official NGINX modules and is available for most popular operating systems. This is a quick and easy way to install NGINX Open Source. We recommend the stable version for production servers.Ĭhoosing Between a Prebuilt Package and Compiling from Sourceīoth the NGINX Open Source mainline and stable versions can be installed in two ways:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |