Centos7安装Nginx超详细过程

安装所需插件

安装gcc

gcc是linux下的编译器在此不多做解释,感兴趣的小伙伴可以去查一下相关资料,它可以编译 C,C++,Ada,Object C和Java等语言。

  • 查看gcc版本命令
$ gcc -v
使用内建 specs。
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
目标:x86_64-redhat-linux
配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
线程模型:posix
gcc 版本 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
  • 安装gcc命令
$ yum -y install gcc
已加载插件:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base                                                                                                         | 3.6 kB  00:00:00     
extras                                                                                                       | 2.9 kB  00:00:00     
updates                                                                                                      | 2.9 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                  | 9.5 MB  00:00:02     
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 gcc.x86_64.0.4.8.5-44.el7 将被 安装
--> 正在处理依赖关系 libgomp = 4.8.5-44.el7,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 cpp = 4.8.5-44.el7,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 libgcc >= 4.8.5-44.el7,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 glibc-devel >= 2.2.90-12,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 libmpfr.so.4()(64bit),它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 libmpc.so.3()(64bit),它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在检查事务
---> 软件包 cpp.x86_64.0.4.8.5-44.el7 将被 安装
---> 软件包 glibc-devel.x86_64.0.2.17-324.el7_9 将被 安装
--> 正在处理依赖关系 glibc-headers = 2.17-324.el7_9,它被软件包 glibc-devel-2.17-324.el7_9.x86_64 需要
--> 正在处理依赖关系 glibc = 2.17-324.el7_9,它被软件包 glibc-devel-2.17-324.el7_9.x86_64 需要
--> 正在处理依赖关系 glibc-headers,它被软件包 glibc-devel-2.17-324.el7_9.x86_64 需要
---> 软件包 libgcc.x86_64.0.4.8.3-9.el7 将被 升级
---> 软件包 libgcc.x86_64.0.4.8.5-44.el7 将被 更新
---> 软件包 libgomp.x86_64.0.4.8.3-9.el7 将被 升级
---> 软件包 libgomp.x86_64.0.4.8.5-44.el7 将被 更新
---> 软件包 libmpc.x86_64.0.1.0.1-3.el7 将被 安装
---> 软件包 mpfr.x86_64.0.3.1.1-4.el7 将被 安装
--> 正在检查事务
---> 软件包 glibc.x86_64.0.2.17-78.el7 将被 升级
--> 正在处理依赖关系 glibc = 2.17-78.el7,它被软件包 glibc-common-2.17-78.el7.x86_64 需要
---> 软件包 glibc.x86_64.0.2.17-324.el7_9 将被 更新
---> 软件包 glibc-headers.x86_64.0.2.17-324.el7_9 将被 安装
--> 正在处理依赖关系 kernel-headers >= 2.2.1,它被软件包 glibc-headers-2.17-324.el7_9.x86_64 需要
--> 正在处理依赖关系 kernel-headers,它被软件包 glibc-headers-2.17-324.el7_9.x86_64 需要
--> 正在检查事务
---> 软件包 glibc-common.x86_64.0.2.17-78.el7 将被 升级
---> 软件包 glibc-common.x86_64.0.2.17-324.el7_9 将被 更新
---> 软件包 kernel-headers.x86_64.0.3.10.0-1160.36.2.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                          架构                     版本                                     源                         大小
====================================================================================================================================
正在安装:
 gcc                              x86_64                   4.8.5-44.el7                             base                       16 M
为依赖而安装:
 cpp                              x86_64                   4.8.5-44.el7                             base                      5.9 M
 glibc-devel                      x86_64                   2.17-324.el7_9                           updates                   1.1 M
 glibc-headers                    x86_64                   2.17-324.el7_9                           updates                   691 k
 kernel-headers                   x86_64                   3.10.0-1160.36.2.el7                     updates                   9.0 M
 libmpc                           x86_64                   1.0.1-3.el7                              base                       51 k
 mpfr                             x86_64                   3.1.1-4.el7                              base                      203 k
为依赖而更新:
 glibc                            x86_64                   2.17-324.el7_9                           updates                   3.6 M
 glibc-common                     x86_64                   2.17-324.el7_9                           updates                    12 M
 libgcc                           x86_64                   4.8.5-44.el7                             base                      103 k
 libgomp                          x86_64                   4.8.5-44.el7                             base                      159 k

事务概要
====================================================================================================================================
安装  1 软件包 (+6 依赖软件包)
升级           ( 4 依赖软件包)

总下载量:49 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/11): glibc-devel-2.17-324.el7_9.x86_64.rpm                                                                | 1.1 MB  00:00:01     
(2/11): glibc-headers-2.17-324.el7_9.x86_64.rpm                                                              | 691 kB  00:00:00     
(3/11): glibc-2.17-324.el7_9.x86_64.rpm                                                                      | 3.6 MB  00:00:02     
(4/11): libgcc-4.8.5-44.el7.x86_64.rpm                                                                       | 103 kB  00:00:00     
(5/11): cpp-4.8.5-44.el7.x86_64.rpm                                                                          | 5.9 MB  00:00:03     
(6/11): libmpc-1.0.1-3.el7.x86_64.rpm                                                                        |  51 kB  00:00:00     
(7/11): libgomp-4.8.5-44.el7.x86_64.rpm                                                                      | 159 kB  00:00:00     
(8/11): mpfr-3.1.1-4.el7.x86_64.rpm                                                                          | 203 kB  00:00:00     
(9/11): glibc-common-2.17-324.el7_9.x86_64.rpm                                                               |  12 MB  00:00:03     
(10/11): gcc-4.8.5-44.el7.x86_64.rpm                                                                         |  16 MB  00:00:04     
(11/11): kernel-headers-3.10.0-1160.36.2.el7.x86_64.rpm                                                      | 9.0 MB  00:00:11     
------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                3.7 MB/s |  49 MB  00:00:12     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : libgcc-4.8.5-44.el7.x86_64                                                                                     1/15 
  正在更新    : glibc-common-2.17-324.el7_9.x86_64                                                                             2/15 
  正在更新    : glibc-2.17-324.el7_9.x86_64                                                                                    3/15 
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
  正在安装    : mpfr-3.1.1-4.el7.x86_64                                                                                        4/15 
  正在安装    : libmpc-1.0.1-3.el7.x86_64                                                                                      5/15 
  正在安装    : cpp-4.8.5-44.el7.x86_64                                                                                        6/15 
  正在更新    : libgomp-4.8.5-44.el7.x86_64                                                                                    7/15 
  正在安装    : kernel-headers-3.10.0-1160.36.2.el7.x86_64                                                                     8/15 
  正在安装    : glibc-headers-2.17-324.el7_9.x86_64                                                                            9/15 
  正在安装    : glibc-devel-2.17-324.el7_9.x86_64                                                                             10/15 
  正在安装    : gcc-4.8.5-44.el7.x86_64                                                                                       11/15 
  清理        : libgomp-4.8.3-9.el7.x86_64                                                                                    12/15 
  清理        : glibc-common-2.17-78.el7.x86_64                                                                               13/15 
  清理        : glibc-2.17-78.el7.x86_64                                                                                      14/15 
  清理        : libgcc-4.8.3-9.el7.x86_64                                                                                     15/15 
  验证中      : glibc-2.17-324.el7_9.x86_64                                                                                    1/15 
  验证中      : glibc-common-2.17-324.el7_9.x86_64                                                                             2/15 
  验证中      : mpfr-3.1.1-4.el7.x86_64                                                                                        3/15 
  验证中      : glibc-headers-2.17-324.el7_9.x86_64                                                                            4/15 
  验证中      : cpp-4.8.5-44.el7.x86_64                                                                                        5/15 
  验证中      : glibc-devel-2.17-324.el7_9.x86_64                                                                              6/15 
  验证中      : gcc-4.8.5-44.el7.x86_64                                                                                        7/15 
  验证中      : libmpc-1.0.1-3.el7.x86_64                                                                                      8/15 
  验证中      : libgcc-4.8.5-44.el7.x86_64                                                                                     9/15 
  验证中      : libgomp-4.8.5-44.el7.x86_64                                                                                   10/15 
  验证中      : kernel-headers-3.10.0-1160.36.2.el7.x86_64                                                                    11/15 
  验证中      : glibc-2.17-78.el7.x86_64                                                                                      12/15 
  验证中      : glibc-common-2.17-78.el7.x86_64                                                                               13/15 
  验证中      : libgcc-4.8.3-9.el7.x86_64                                                                                     14/15 
  验证中      : libgomp-4.8.3-9.el7.x86_64                                                                                    15/15 

已安装:
  gcc.x86_64 0:4.8.5-44.el7                                                                                                         

作为依赖被安装:
  cpp.x86_64 0:4.8.5-44.el7                        glibc-devel.x86_64 0:2.17-324.el7_9     glibc-headers.x86_64 0:2.17-324.el7_9    
  kernel-headers.x86_64 0:3.10.0-1160.36.2.el7     libmpc.x86_64 0:1.0.1-3.el7             mpfr.x86_64 0:3.1.1-4.el7                

作为依赖被升级:
  glibc.x86_64 0:2.17-324.el7_9  glibc-common.x86_64 0:2.17-324.el7_9  libgcc.x86_64 0:4.8.5-44.el7  libgomp.x86_64 0:4.8.5-44.el7 

完毕!
$

安装pcre、pcre-devel

pcre是一个perl库,包括perl兼容的正则表达式库,nginx的http模块使用pcre来解析正则表达式,所以需要安装pcre库。

  • 安装pcre、pcre-devel命令
$ yum install -y pcre pcre-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 pcre.x86_64.0.8.32-14.el7 将被 升级
---> 软件包 pcre.x86_64.0.8.32-17.el7 将被 更新
---> 软件包 pcre-devel.x86_64.0.8.32-17.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                          架构                         版本                                源                          大小
====================================================================================================================================
正在安装:
 pcre-devel                       x86_64                       8.32-17.el7                         base                       480 k
正在更新:
 pcre                             x86_64                       8.32-17.el7                         base                       422 k

事务概要
====================================================================================================================================
安装  1 软件包
升级  1 软件包

总下载量:902 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): pcre-8.32-17.el7.x86_64.rpm                                                                           | 422 kB  00:00:00     
(2/2): pcre-devel-8.32-17.el7.x86_64.rpm                                                                     | 480 kB  00:00:00     
------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                1.8 MB/s | 902 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : pcre-8.32-17.el7.x86_64                                                                                         1/3 
  正在安装    : pcre-devel-8.32-17.el7.x86_64                                                                                   2/3 
  清理        : pcre-8.32-14.el7.x86_64                                                                                         3/3 
  验证中      : pcre-8.32-17.el7.x86_64                                                                                         1/3 
  验证中      : pcre-devel-8.32-17.el7.x86_64                                                                                   2/3 
  验证中      : pcre-8.32-14.el7.x86_64                                                                                         3/3 
已安装:
  pcre-devel.x86_64 0:8.32-17.el7
更新完毕:
  pcre.x86_64 0:8.32-17.el7    
完毕!

安装zlib

zlib库提供了很多种压缩和解压缩方式nginx使用zlib对http包的内容进行gzip

  • 安装zlib命令
$ yum install -y zlib zlib-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 zlib.x86_64.0.1.2.7-13.el7 将被 升级
---> 软件包 zlib.x86_64.0.1.2.7-19.el7_9 将被 更新
---> 软件包 zlib-devel.x86_64.0.1.2.7-19.el7_9 将被 安装
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                         架构                        版本                                源                            大小
====================================================================================================================================
正在安装:
 zlib-devel                      x86_64                      1.2.7-19.el7_9                      updates                       50 k
正在更新:
 zlib                            x86_64                      1.2.7-19.el7_9                      updates                       90 k

事务概要
====================================================================================================================================
安装  1 软件包
升级  1 软件包

总下载量:140 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): zlib-1.2.7-19.el7_9.x86_64.rpm                                                                        |  90 kB  00:00:00     
(2/2): zlib-devel-1.2.7-19.el7_9.x86_64.rpm                                                                  |  50 kB  00:00:00     
------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                262 kB/s | 140 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : zlib-1.2.7-19.el7_9.x86_64                                                                                      1/3 
  正在安装    : zlib-devel-1.2.7-19.el7_9.x86_64                                                                                2/3 
  清理        : zlib-1.2.7-13.el7.x86_64                                                                                        3/3 
  验证中      : zlib-devel-1.2.7-19.el7_9.x86_64                                                                                1/3 
  验证中      : zlib-1.2.7-19.el7_9.x86_64                                                                                      2/3 
  验证中      : zlib-1.2.7-13.el7.x86_64                                                                                        3/3 

已安装:
  zlib-devel.x86_64 0:1.2.7-19.el7_9 

更新完毕:
  zlib.x86_64 0:1.2.7-19.el7_9  

完毕!

安装openssl

openssl是web安全通信的基石,没有openssl,可以说我们的信息都是在裸奔。

  • 安装openssl命令
$ yum install -y openssl openssl-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 openssl.x86_64.1.1.0.1e-42.el7 将被 升级
---> 软件包 openssl.x86_64.1.1.0.2k-21.el7_9 将被 更新
--> 正在处理依赖关系 openssl-libs(x86-64) = 1:1.0.2k-21.el7_9,它被软件包 1:openssl-1.0.2k-21.el7_9.x86_64 需要
--> 正在处理依赖关系 libcrypto.so.10(OPENSSL_1.0.2)(64bit),它被软件包 1:openssl-1.0.2k-21.el7_9.x86_64 需要
---> 软件包 openssl-devel.x86_64.1.1.0.2k-21.el7_9 将被 安装
--> 正在处理依赖关系 krb5-devel(x86-64),它被软件包 1:openssl-devel-1.0.2k-21.el7_9.x86_64 需要
--> 正在检查事务
---> 软件包 krb5-devel.x86_64.0.1.15.1-50.el7 将被 安装
--> 正在处理依赖关系 libkadm5(x86-64) = 1.15.1-50.el7,它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
--> 正在处理依赖关系 krb5-libs(x86-64) = 1.15.1-50.el7,它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
--> 正在处理依赖关系 libverto-devel,它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
--> 正在处理依赖关系 libselinux-devel,它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
--> 正在处理依赖关系 libcom_err-devel,它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
--> 正在处理依赖关系 keyutils-libs-devel,它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
--> 正在处理依赖关系 libkdb5.so.8()(64bit),它被软件包 krb5-devel-1.15.1-50.el7.x86_64 需要
---> 软件包 openssl-libs.x86_64.1.1.0.1e-42.el7 将被 升级
---> 软件包 openssl-libs.x86_64.1.1.0.2k-21.el7_9 将被 更新
--> 正在检查事务
---> 软件包 keyutils-libs-devel.x86_64.0.1.5.8-3.el7 将被 安装
---> 软件包 krb5-libs.x86_64.0.1.12.2-14.el7 将被 升级
---> 软件包 krb5-libs.x86_64.0.1.15.1-50.el7 将被 更新
---> 软件包 libcom_err-devel.x86_64.0.1.42.9-19.el7 将被 安装
--> 正在处理依赖关系 libcom_err(x86-64) = 1.42.9-19.el7,它被软件包 libcom_err-devel-1.42.9-19.el7.x86_64 需要
---> 软件包 libkadm5.x86_64.0.1.15.1-50.el7 将被 安装
---> 软件包 libselinux-devel.x86_64.0.2.5-15.el7 将被 安装
--> 正在处理依赖关系 libselinux(x86-64) = 2.5-15.el7,它被软件包 libselinux-devel-2.5-15.el7.x86_64 需要
--> 正在处理依赖关系 libsepol-devel(x86-64) >= 2.5-10,它被软件包 libselinux-devel-2.5-15.el7.x86_64 需要
--> 正在处理依赖关系 pkgconfig(libsepol),它被软件包 libselinux-devel-2.5-15.el7.x86_64 需要
---> 软件包 libverto-devel.x86_64.0.0.2.5-4.el7 将被 安装
--> 正在检查事务
---> 软件包 libcom_err.x86_64.0.1.42.9-7.el7 将被 升级
--> 正在处理依赖关系 libcom_err(x86-64) = 1.42.9-7.el7,它被软件包 e2fsprogs-libs-1.42.9-7.el7.x86_64 需要
--> 正在处理依赖关系 libcom_err(x86-64) = 1.42.9-7.el7,它被软件包 e2fsprogs-1.42.9-7.el7.x86_64 需要
--> 正在处理依赖关系 libcom_err(x86-64) = 1.42.9-7.el7,它被软件包 libss-1.42.9-7.el7.x86_64 需要
---> 软件包 libcom_err.x86_64.0.1.42.9-19.el7 将被 更新
---> 软件包 libselinux.x86_64.0.2.2.2-6.el7 将被 升级
--> 正在处理依赖关系 libselinux = 2.2.2-6.el7,它被软件包 libselinux-utils-2.2.2-6.el7.x86_64 需要
--> 正在处理依赖关系 libselinux = 2.2.2-6.el7,它被软件包 libselinux-python-2.2.2-6.el7.x86_64 需要
---> 软件包 libselinux.x86_64.0.2.5-15.el7 将被 更新
--> 正在处理依赖关系 libsepol(x86-64) >= 2.5-10,它被软件包 libselinux-2.5-15.el7.x86_64 需要
--> 正在处理依赖关系 libsepol.so.1(LIBSEPOL_1.0)(64bit),它被软件包 libselinux-2.5-15.el7.x86_64 需要
---> 软件包 libsepol-devel.x86_64.0.2.5-10.el7 将被 安装
--> 正在检查事务
---> 软件包 e2fsprogs.x86_64.0.1.42.9-7.el7 将被 升级
---> 软件包 e2fsprogs.x86_64.0.1.42.9-19.el7 将被 更新
---> 软件包 e2fsprogs-libs.x86_64.0.1.42.9-7.el7 将被 升级
---> 软件包 e2fsprogs-libs.x86_64.0.1.42.9-19.el7 将被 更新
---> 软件包 libselinux-python.x86_64.0.2.2.2-6.el7 将被 升级
---> 软件包 libselinux-python.x86_64.0.2.5-15.el7 将被 更新
---> 软件包 libselinux-utils.x86_64.0.2.2.2-6.el7 将被 升级
---> 软件包 libselinux-utils.x86_64.0.2.5-15.el7 将被 更新
---> 软件包 libsepol.x86_64.0.2.1.9-3.el7 将被 升级
---> 软件包 libsepol.x86_64.0.2.5-10.el7 将被 更新
---> 软件包 libss.x86_64.0.1.42.9-7.el7 将被 升级
---> 软件包 libss.x86_64.0.1.42.9-19.el7 将被 更新
--> 处理 libselinux-2.5-15.el7.x86_64 与 systemd < 219-20 的冲突
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 systemd.x86_64.0.208-20.el7 将被 升级
--> 正在处理依赖关系 systemd = 208-20.el7,它被软件包 systemd-sysv-208-20.el7.x86_64 需要
--> 正在处理依赖关系 systemd = 208-20.el7,它被软件包 libgudev1-208-20.el7.x86_64 需要
---> 软件包 systemd.x86_64.0.219-78.el7_9.3 将被 更新
--> 正在处理依赖关系 systemd-libs = 219-78.el7_9.3,它被软件包 systemd-219-78.el7_9.3.x86_64 需要
--> 正在处理依赖关系 kmod >= 18-4,它被软件包 systemd-219-78.el7_9.3.x86_64 需要
--> 正在处理依赖关系 libcryptsetup.so.12(CRYPTSETUP_2.0)(64bit),它被软件包 systemd-219-78.el7_9.3.x86_64 需要
--> 正在处理依赖关系 liblz4.so.1()(64bit),它被软件包 systemd-219-78.el7_9.3.x86_64 需要
--> 正在处理依赖关系 libcryptsetup.so.12()(64bit),它被软件包 systemd-219-78.el7_9.3.x86_64 需要
--> 正在检查事务
---> 软件包 cryptsetup-libs.x86_64.0.1.6.6-3.el7 将被 升级
---> 软件包 cryptsetup-libs.x86_64.0.2.0.3-6.el7 将被 更新
--> 正在处理依赖关系 libdevmapper.so.1.02(DM_1_02_97)(64bit),它被软件包 cryptsetup-libs-2.0.3-6.el7.x86_64 需要
---> 软件包 kmod.x86_64.0.14-10.el7 将被 升级
---> 软件包 kmod.x86_64.0.20-28.el7 将被 更新
---> 软件包 libgudev1.x86_64.0.208-20.el7 将被 升级
---> 软件包 libgudev1.x86_64.0.219-78.el7_9.3 将被 更新
--> 正在处理依赖关系 glib2 >= 2.42,它被软件包 libgudev1-219-78.el7_9.3.x86_64 需要
---> 软件包 lz4.x86_64.0.1.8.3-1.el7 将被 安装
---> 软件包 systemd-libs.x86_64.0.208-20.el7 将被 升级
---> 软件包 systemd-libs.x86_64.0.219-78.el7_9.3 将被 更新
---> 软件包 systemd-sysv.x86_64.0.208-20.el7 将被 升级
---> 软件包 systemd-sysv.x86_64.0.219-78.el7_9.3 将被 更新
--> 正在检查事务
---> 软件包 device-mapper-libs.x86_64.7.1.02.93-3.el7 将被 升级
--> 正在处理依赖关系 device-mapper-libs = 7:1.02.93-3.el7,它被软件包 7:device-mapper-1.02.93-3.el7.x86_64 需要
---> 软件包 device-mapper-libs.x86_64.7.1.02.170-6.el7_9.5 将被 更新
---> 软件包 glib2.x86_64.0.2.40.0-4.el7 将被 升级
---> 软件包 glib2.x86_64.0.2.56.1-9.el7_9 将被 更新
--> 正在检查事务
---> 软件包 device-mapper.x86_64.7.1.02.93-3.el7 将被 升级
--> 正在处理依赖关系 device-mapper = 7:1.02.93-3.el7,它被软件包 7:device-mapper-event-1.02.93-3.el7.x86_64 需要
---> 软件包 device-mapper.x86_64.7.1.02.170-6.el7_9.5 将被 更新
--> 正在检查事务
---> 软件包 device-mapper-event.x86_64.7.1.02.93-3.el7 将被 升级
--> 正在处理依赖关系 device-mapper-event = 7:1.02.93-3.el7,它被软件包 7:lvm2-libs-2.02.115-3.el7.x86_64 需要
---> 软件包 device-mapper-event.x86_64.7.1.02.170-6.el7_9.5 将被 更新
--> 正在处理依赖关系 device-mapper-event-libs = 7:1.02.170-6.el7_9.5,它被软件包 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 需要
--> 正在检查事务
---> 软件包 device-mapper-event-libs.x86_64.7.1.02.93-3.el7 将被 升级
---> 软件包 device-mapper-event-libs.x86_64.7.1.02.170-6.el7_9.5 将被 更新
---> 软件包 lvm2-libs.x86_64.7.2.02.115-3.el7 将被 升级
--> 正在处理依赖关系 lvm2-libs = 7:2.02.115-3.el7,它被软件包 7:lvm2-2.02.115-3.el7.x86_64 需要
---> 软件包 lvm2-libs.x86_64.7.2.02.187-6.el7_9.5 将被 更新
--> 正在检查事务
---> 软件包 lvm2.x86_64.7.2.02.115-3.el7 将被 升级
---> 软件包 lvm2.x86_64.7.2.02.187-6.el7_9.5 将被 更新
--> 正在处理依赖关系 device-mapper-persistent-data >= 0.7.0-0.1.rc6,它被软件包 7:lvm2-2.02.187-6.el7_9.5.x86_64 需要
--> 正在检查事务
---> 软件包 device-mapper-persistent-data.x86_64.0.0.4.1-2.el7 将被 升级
---> 软件包 device-mapper-persistent-data.x86_64.0.0.8.5-3.el7_9.2 将被 更新
--> 处理 libselinux-2.5-15.el7.x86_64 与 selinux-policy-base < 3.13.1-66 的冲突
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 selinux-policy-targeted.noarch.0.3.13.1-23.el7 将被 升级
---> 软件包 selinux-policy-targeted.noarch.0.3.13.1-268.el7_9.2 将被 更新
--> 正在处理依赖关系 selinux-policy = 3.13.1-268.el7_9.2,它被软件包 selinux-policy-targeted-3.13.1-268.el7_9.2.noarch 需要
--> 正在处理依赖关系 selinux-policy = 3.13.1-268.el7_9.2,它被软件包 selinux-policy-targeted-3.13.1-268.el7_9.2.noarch 需要
--> 正在处理依赖关系 policycoreutils >= 2.5-24,它被软件包 selinux-policy-targeted-3.13.1-268.el7_9.2.noarch 需要
--> 正在检查事务
---> 软件包 policycoreutils.x86_64.0.2.2.5-15.el7 将被 升级
---> 软件包 policycoreutils.x86_64.0.2.5-34.el7 将被 更新
--> 正在处理依赖关系 libsemanage >= 2.5-14,它被软件包 policycoreutils-2.5-34.el7.x86_64 需要
--> 正在处理依赖关系 libsemanage.so.1(LIBSEMANAGE_1.1)(64bit),它被软件包 policycoreutils-2.5-34.el7.x86_64 需要
---> 软件包 selinux-policy.noarch.0.3.13.1-23.el7 将被 升级
---> 软件包 selinux-policy.noarch.0.3.13.1-268.el7_9.2 将被 更新
--> 正在检查事务
---> 软件包 libsemanage.x86_64.0.2.1.10-16.el7 将被 升级
---> 软件包 libsemanage.x86_64.0.2.5-14.el7 将被 更新
--> 处理 systemd-219-78.el7_9.3.x86_64 与 initscripts < 9.49.28-1 的冲突
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 initscripts.x86_64.0.9.49.24-1.el7 将被 升级
---> 软件包 initscripts.x86_64.0.9.49.53-1.el7_9.1 将被 更新
--> 正在处理依赖关系 bc,它被软件包 initscripts-9.49.53-1.el7_9.1.x86_64 需要
--> 正在检查事务
---> 软件包 bc.x86_64.0.1.06.95-13.el7 将被 安装
--> 处理 initscripts-9.49.53-1.el7_9.1.x86_64 与 redhat-release < 7.5-0.11 的冲突
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 centos-release.x86_64.0.7-1.1503.el7.centos.2.8 将被 升级
---> 软件包 centos-release.x86_64.0.7-9.2009.1.el7.centos 将被 更新
--> 处理 systemd-219-78.el7_9.3.x86_64 与 dracut < 033-243 的冲突
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 dracut.x86_64.0.033-240.el7 将被 升级
--> 正在处理依赖关系 dracut = 033-240.el7,它被软件包 dracut-config-rescue-033-240.el7.x86_64 需要
--> 正在处理依赖关系 dracut = 033-240.el7,它被软件包 dracut-network-033-240.el7.x86_64 需要
---> 软件包 dracut.x86_64.0.033-572.el7 将被 更新
--> 正在检查事务
---> 软件包 dracut-config-rescue.x86_64.0.033-240.el7 将被 升级
---> 软件包 dracut-config-rescue.x86_64.0.033-572.el7 将被 更新
---> 软件包 dracut-network.x86_64.0.033-240.el7 将被 升级
---> 软件包 dracut-network.x86_64.0.033-572.el7 将被 更新
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                                     架构                 版本                                  源                     大小
====================================================================================================================================
正在安装:
 openssl-devel                               x86_64               1:1.0.2k-21.el7_9                     updates               1.5 M
正在更新:
 centos-release                              x86_64               7-9.2009.1.el7.centos                 updates                27 k
 dracut                                      x86_64               033-572.el7                           base                  329 k
 initscripts                                 x86_64               9.49.53-1.el7_9.1                     updates               440 k
 openssl                                     x86_64               1:1.0.2k-21.el7_9                     updates               493 k
 selinux-policy-targeted                     noarch               3.13.1-268.el7_9.2                    updates               7.0 M
 systemd                                     x86_64               219-78.el7_9.3                        updates               5.1 M
为依赖而安装:
 bc                                          x86_64               1.06.95-13.el7                        base                  115 k
 keyutils-libs-devel                         x86_64               1.5.8-3.el7                           base                   37 k
 krb5-devel                                  x86_64               1.15.1-50.el7                         base                  273 k
 libcom_err-devel                            x86_64               1.42.9-19.el7                         base                   32 k
 libkadm5                                    x86_64               1.15.1-50.el7                         base                  179 k
 libselinux-devel                            x86_64               2.5-15.el7                            base                  187 k
 libsepol-devel                              x86_64               2.5-10.el7                            base                   77 k
 libverto-devel                              x86_64               0.2.5-4.el7                           base                   12 k
 lz4                                         x86_64               1.8.3-1.el7                           base                   85 k
为依赖而更新:
 cryptsetup-libs                             x86_64               2.0.3-6.el7                           base                  339 k
 device-mapper                               x86_64               7:1.02.170-6.el7_9.5                  updates               297 k
 device-mapper-event                         x86_64               7:1.02.170-6.el7_9.5                  updates               192 k
 device-mapper-event-libs                    x86_64               7:1.02.170-6.el7_9.5                  updates               192 k
 device-mapper-libs                          x86_64               7:1.02.170-6.el7_9.5                  updates               325 k
 device-mapper-persistent-data               x86_64               0.8.5-3.el7_9.2                       updates               423 k
 dracut-config-rescue                        x86_64               033-572.el7                           base                   61 k
 dracut-network                              x86_64               033-572.el7                           base                  103 k
 e2fsprogs                                   x86_64               1.42.9-19.el7                         base                  701 k
 e2fsprogs-libs                              x86_64               1.42.9-19.el7                         base                  168 k
 glib2                                       x86_64               2.56.1-9.el7_9                        updates               2.5 M
 kmod                                        x86_64               20-28.el7                             base                  123 k
 krb5-libs                                   x86_64               1.15.1-50.el7                         base                  809 k
 libcom_err                                  x86_64               1.42.9-19.el7                         base                   42 k
 libgudev1                                   x86_64               219-78.el7_9.3                        updates               109 k
 libselinux                                  x86_64               2.5-15.el7                            base                  162 k
 libselinux-python                           x86_64               2.5-15.el7                            base                  236 k
 libselinux-utils                            x86_64               2.5-15.el7                            base                  151 k
 libsemanage                                 x86_64               2.5-14.el7                            base                  151 k
 libsepol                                    x86_64               2.5-10.el7                            base                  297 k
 libss                                       x86_64               1.42.9-19.el7                         base                   47 k
 lvm2                                        x86_64               7:2.02.187-6.el7_9.5                  updates               1.3 M
 lvm2-libs                                   x86_64               7:2.02.187-6.el7_9.5                  updates               1.1 M
 openssl-libs                                x86_64               1:1.0.2k-21.el7_9                     updates               1.2 M
 policycoreutils                             x86_64               2.5-34.el7                            base                  917 k
 selinux-policy                              noarch               3.13.1-268.el7_9.2                    updates               498 k
 systemd-libs                                x86_64               219-78.el7_9.3                        updates               418 k
 systemd-sysv                                x86_64               219-78.el7_9.3                        updates                97 k

事务概要
====================================================================================================================================
安装  1 软件包 (+ 9 依赖软件包)
升级  6 软件包 (+28 依赖软件包)

总下载量:29 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/44): bc-1.06.95-13.el7.x86_64.rpm                                                                         | 115 kB  00:00:00     
(2/44): centos-release-7-9.2009.1.el7.centos.x86_64.rpm                                                      |  27 kB  00:00:00     
(3/44): cryptsetup-libs-2.0.3-6.el7.x86_64.rpm                                                               | 339 kB  00:00:00     
(4/44): device-mapper-event-1.02.170-6.el7_9.5.x86_64.rpm                                                    | 192 kB  00:00:00     
(5/44): device-mapper-libs-1.02.170-6.el7_9.5.x86_64.rpm                                                     | 325 kB  00:00:00     
(6/44): device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64.rpm                                             | 423 kB  00:00:00     
(7/44): device-mapper-1.02.170-6.el7_9.5.x86_64.rpm                                                          | 297 kB  00:00:00     
(8/44): dracut-network-033-572.el7.x86_64.rpm                                                                | 103 kB  00:00:00     
(9/44): dracut-config-rescue-033-572.el7.x86_64.rpm                                                          |  61 kB  00:00:00     
(10/44): e2fsprogs-libs-1.42.9-19.el7.x86_64.rpm                                                             | 168 kB  00:00:00     
(11/44): device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64.rpm                                              | 192 kB  00:00:00     
(12/44): dracut-033-572.el7.x86_64.rpm                                                                       | 329 kB  00:00:00     
(13/44): kmod-20-28.el7.x86_64.rpm                                                                           | 123 kB  00:00:00     
(14/44): initscripts-9.49.53-1.el7_9.1.x86_64.rpm                                                            | 440 kB  00:00:00     
(15/44): krb5-devel-1.15.1-50.el7.x86_64.rpm                                                                 | 273 kB  00:00:00     
(16/44): libcom_err-1.42.9-19.el7.x86_64.rpm                                                                 |  42 kB  00:00:00     
(17/44): libcom_err-devel-1.42.9-19.el7.x86_64.rpm                                                           |  32 kB  00:00:00     
(18/44): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                          |  37 kB  00:00:00     
(19/44): libgudev1-219-78.el7_9.3.x86_64.rpm                                                                 | 109 kB  00:00:00     
(20/44): e2fsprogs-1.42.9-19.el7.x86_64.rpm                                                                  | 701 kB  00:00:00     
(21/44): libkadm5-1.15.1-50.el7.x86_64.rpm                                                                   | 179 kB  00:00:00     
(22/44): libselinux-2.5-15.el7.x86_64.rpm                                                                    | 162 kB  00:00:00     
(23/44): libselinux-devel-2.5-15.el7.x86_64.rpm                                                              | 187 kB  00:00:00     
(24/44): krb5-libs-1.15.1-50.el7.x86_64.rpm                                                                  | 809 kB  00:00:00     
(25/44): libselinux-utils-2.5-15.el7.x86_64.rpm                                                              | 151 kB  00:00:00     
(26/44): libsepol-devel-2.5-10.el7.x86_64.rpm                                                                |  77 kB  00:00:00     
(27/44): glib2-2.56.1-9.el7_9.x86_64.rpm                                                                     | 2.5 MB  00:00:00     
(28/44): libsemanage-2.5-14.el7.x86_64.rpm                                                                   | 151 kB  00:00:00     
(29/44): libselinux-python-2.5-15.el7.x86_64.rpm                                                             | 236 kB  00:00:00     
(30/44): libss-1.42.9-19.el7.x86_64.rpm                                                                      |  47 kB  00:00:00     
(31/44): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                               |  12 kB  00:00:00     
(32/44): libsepol-2.5-10.el7.x86_64.rpm                                                                      | 297 kB  00:00:00     
(33/44): openssl-1.0.2k-21.el7_9.x86_64.rpm                                                                  | 493 kB  00:00:00     
(34/44): lvm2-2.02.187-6.el7_9.5.x86_64.rpm                                                                  | 1.3 MB  00:00:00     
(35/44): lz4-1.8.3-1.el7.x86_64.rpm                                                                          |  85 kB  00:00:00     
(36/44): policycoreutils-2.5-34.el7.x86_64.rpm                                                               | 917 kB  00:00:00     
(37/44): openssl-libs-1.0.2k-21.el7_9.x86_64.rpm                                                             | 1.2 MB  00:00:00     
(38/44): selinux-policy-3.13.1-268.el7_9.2.noarch.rpm                                                        | 498 kB  00:00:00     
(39/44): lvm2-libs-2.02.187-6.el7_9.5.x86_64.rpm                                                             | 1.1 MB  00:00:00     
(40/44): openssl-devel-1.0.2k-21.el7_9.x86_64.rpm                                                            | 1.5 MB  00:00:00     
(41/44): systemd-219-78.el7_9.3.x86_64.rpm                                                                   | 5.1 MB  00:00:01     
(42/44): systemd-libs-219-78.el7_9.3.x86_64.rpm                                                              | 418 kB  00:00:00     
(43/44): systemd-sysv-219-78.el7_9.3.x86_64.rpm                                                              |  97 kB  00:00:00     
(44/44): selinux-policy-targeted-3.13.1-268.el7_9.2.noarch.rpm                                               | 7.0 MB  00:00:02     
------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                5.6 MB/s |  29 MB  00:00:05     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : libcom_err-1.42.9-19.el7.x86_64                                                                                1/78 
  正在更新    : libsepol-2.5-10.el7.x86_64                                                                                     2/78 
  正在更新    : libselinux-2.5-15.el7.x86_64                                                                                   3/78 
  正在更新    : 1:openssl-libs-1.0.2k-21.el7_9.x86_64                                                                          4/78 
  正在更新    : krb5-libs-1.15.1-50.el7.x86_64                                                                                 5/78 
  正在更新    : glib2-2.56.1-9.el7_9.x86_64                                                                                    6/78 
  正在更新    : libsemanage-2.5-14.el7.x86_64                                                                                  7/78 
  正在安装    : lz4-1.8.3-1.el7.x86_64                                                                                         8/78 
  正在更新    : systemd-libs-219-78.el7_9.3.x86_64                                                                             9/78 
  正在更新    : centos-release-7-9.2009.1.el7.centos.x86_64                                                                   10/78 
  正在更新    : kmod-20-28.el7.x86_64                                                                                         11/78 
  正在更新    : dracut-033-572.el7.x86_64                                                                                     12/78 
  正在更新    : cryptsetup-libs-2.0.3-6.el7.x86_64                                                                            13/78 
  正在更新    : systemd-219-78.el7_9.3.x86_64                                                                                 14/78 
  正在更新    : 7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64                                                                15/78 
  正在更新    : 7:device-mapper-1.02.170-6.el7_9.5.x86_64                                                                     16/78 
  正在更新    : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64                                                          17/78 
  正在更新    : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64                                                               18/78 
  正在更新    : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64                                                                         19/78 
  正在安装    : libkadm5-1.15.1-50.el7.x86_64                                                                                 20/78 
  正在更新    : libselinux-utils-2.5-15.el7.x86_64                                                                            21/78 
  正在更新    : policycoreutils-2.5-34.el7.x86_64                                                                             22/78 
  正在更新    : selinux-policy-3.13.1-268.el7_9.2.noarch                                                                      23/78 
  正在安装    : libsepol-devel-2.5-10.el7.x86_64                                                                              24/78 
  正在安装    : libselinux-devel-2.5-15.el7.x86_64                                                                            25/78 
  正在更新    : e2fsprogs-libs-1.42.9-19.el7.x86_64                                                                           26/78 
  正在更新    : libss-1.42.9-19.el7.x86_64                                                                                    27/78 
  正在安装    : libcom_err-devel-1.42.9-19.el7.x86_64                                                                         28/78 
  正在更新    : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64                                                          29/78 
  正在安装    : libverto-devel-0.2.5-4.el7.x86_64                                                                             30/78 
  正在安装    : bc-1.06.95-13.el7.x86_64                                                                                      31/78 
  正在安装    : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                        32/78 
  正在安装    : krb5-devel-1.15.1-50.el7.x86_64                                                                               33/78 
  正在安装    : 1:openssl-devel-1.0.2k-21.el7_9.x86_64                                                                        34/78 
  正在更新    : initscripts-9.49.53-1.el7_9.1.x86_64                                                                          35/78 
  正在更新    : 7:lvm2-2.02.187-6.el7_9.5.x86_64                                                                              36/78 
Created symlink from /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket to /usr/lib/systemd/system/lvm2-lvmpolld.socket.
  正在更新    : e2fsprogs-1.42.9-19.el7.x86_64                                                                                37/78 
  正在更新    : selinux-policy-targeted-3.13.1-268.el7_9.2.noarch                                                             38/78 
  正在更新    : systemd-sysv-219-78.el7_9.3.x86_64                                                                            39/78 
  正在更新    : dracut-config-rescue-033-572.el7.x86_64                                                                       40/78 
  正在更新    : dracut-network-033-572.el7.x86_64                                                                             41/78 
  正在更新    : libgudev1-219-78.el7_9.3.x86_64                                                                               42/78 
  正在更新    : 1:openssl-1.0.2k-21.el7_9.x86_64                                                                              43/78 
  正在更新    : libselinux-python-2.5-15.el7.x86_64                                                                           44/78 
  清理        : selinux-policy-targeted-3.13.1-23.el7.noarch                                                                  45/78 
  清理        : selinux-policy-3.13.1-23.el7.noarch                                                                           46/78 
  清理        : dracut-network-033-240.el7.x86_64                                                                             47/78 
  清理        : dracut-config-rescue-033-240.el7.x86_64                                                                       48/78 
  清理        : systemd-sysv-208-20.el7.x86_64                                                                                49/78 
  清理        : 7:lvm2-2.02.115-3.el7.x86_64                                                                                  50/78 
  清理        : 7:lvm2-libs-2.02.115-3.el7.x86_64                                                                             51/78 
  清理        : 7:device-mapper-event-1.02.93-3.el7.x86_64                                                                    52/78 
  清理        : policycoreutils-2.2.5-15.el7.x86_64                                                                           53/78 
  清理        : libgudev1-208-20.el7.x86_64                                                                                   54/78 
  清理        : 1:openssl-1.0.1e-42.el7.x86_64                                                                                55/78 

UPGRADE: Automatically re-enabling default systemd units:
        brandbot.path
        rhel-autorelabel.service
        rhel-autorelabel-mark.service
        rhel-configure.service
        rhel-dmesg.service
        rhel-domainname.service
        rhel-import-state.service
        rhel-loadmodules.service
        rhel-readonly.service

  清理        : initscripts-9.49.24-1.el7.x86_64                                                                              56/78 
  清理        : e2fsprogs-1.42.9-7.el7.x86_64                                                                                 57/78 
  清理        : krb5-libs-1.12.2-14.el7.x86_64                                                                                58/78 
  清理        : 1:openssl-libs-1.0.1e-42.el7.x86_64                                                                           59/78 
  清理        : libsemanage-2.1.10-16.el7.x86_64                                                                              60/78 
  清理        : dracut-033-240.el7.x86_64                                                                                     61/78 
  清理        : e2fsprogs-libs-1.42.9-7.el7.x86_64                                                                            62/78 
  清理        : libss-1.42.9-7.el7.x86_64                                                                                     63/78 
  清理        : glib2-2.40.0-4.el7.x86_64                                                                                     64/78 
  清理        : libselinux-utils-2.2.2-6.el7.x86_64                                                                           65/78 
  清理        : 7:device-mapper-event-libs-1.02.93-3.el7.x86_64                                                               66/78 
  清理        : 7:device-mapper-1.02.93-3.el7.x86_64                                                                          67/78 
  清理        : systemd-208-20.el7.x86_64                                                                                     68/78 
  清理        : cryptsetup-libs-1.6.6-3.el7.x86_64                                                                            69/78 
  清理        : 7:device-mapper-libs-1.02.93-3.el7.x86_64                                                                     70/78 
  清理        : systemd-libs-208-20.el7.x86_64                                                                                71/78 
  清理        : libselinux-python-2.2.2-6.el7.x86_64                                                                          72/78 
  清理        : centos-release-7-1.1503.el7.centos.2.8.x86_64                                                                 73/78 
  清理        : libselinux-2.2.2-6.el7.x86_64                                                                                 74/78 
  清理        : libsepol-2.1.9-3.el7.x86_64                                                                                   75/78 
  清理        : kmod-14-10.el7.x86_64                                                                                         76/78 
  清理        : libcom_err-1.42.9-7.el7.x86_64                                                                                77/78 
  清理        : device-mapper-persistent-data-0.4.1-2.el7.x86_64                                                              78/78 
  验证中      : libselinux-devel-2.5-15.el7.x86_64                                                                             1/78 
  验证中      : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                         2/78 
  验证中      : libselinux-2.5-15.el7.x86_64                                                                                   3/78 
  验证中      : centos-release-7-9.2009.1.el7.centos.x86_64                                                                    4/78 
  验证中      : systemd-sysv-219-78.el7_9.3.x86_64                                                                             5/78 
  验证中      : e2fsprogs-1.42.9-19.el7.x86_64                                                                                 6/78 
  验证中      : selinux-policy-targeted-3.13.1-268.el7_9.2.noarch                                                              7/78 
  验证中      : lz4-1.8.3-1.el7.x86_64                                                                                         8/78 
  验证中      : 7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64                                                                 9/78 
  验证中      : selinux-policy-3.13.1-268.el7_9.2.noarch                                                                      10/78 
  验证中      : dracut-033-572.el7.x86_64                                                                                     11/78 
  验证中      : bc-1.06.95-13.el7.x86_64                                                                                      12/78 
  验证中      : libkadm5-1.15.1-50.el7.x86_64                                                                                 13/78 
  验证中      : cryptsetup-libs-2.0.3-6.el7.x86_64                                                                            14/78 
  验证中      : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64                                                          15/78 
  验证中      : glib2-2.56.1-9.el7_9.x86_64                                                                                   16/78 
  验证中      : libverto-devel-0.2.5-4.el7.x86_64                                                                             17/78 
  验证中      : 1:openssl-libs-1.0.2k-21.el7_9.x86_64                                                                         18/78 
  验证中      : systemd-libs-219-78.el7_9.3.x86_64                                                                            19/78 
  验证中      : libcom_err-1.42.9-19.el7.x86_64                                                                               20/78 
  验证中      : initscripts-9.49.53-1.el7_9.1.x86_64                                                                          21/78 
  验证中      : systemd-219-78.el7_9.3.x86_64                                                                                 22/78 
  验证中      : dracut-config-rescue-033-572.el7.x86_64                                                                       23/78 
  验证中      : libselinux-utils-2.5-15.el7.x86_64                                                                            24/78 
  验证中      : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64                                                                         25/78 
  验证中      : kmod-20-28.el7.x86_64                                                                                         26/78 
  验证中      : 1:openssl-1.0.2k-21.el7_9.x86_64                                                                              27/78 
  验证中      : e2fsprogs-libs-1.42.9-19.el7.x86_64                                                                           28/78 
  验证中      : libselinux-python-2.5-15.el7.x86_64                                                                           29/78 
  验证中      : libsepol-2.5-10.el7.x86_64                                                                                    30/78 
  验证中      : libgudev1-219-78.el7_9.3.x86_64                                                                               31/78 
  验证中      : libsepol-devel-2.5-10.el7.x86_64                                                                              32/78 
  验证中      : libss-1.42.9-19.el7.x86_64                                                                                    33/78 
  验证中      : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64                                                               34/78 
  验证中      : 7:lvm2-2.02.187-6.el7_9.5.x86_64                                                                              35/78 
  验证中      : 1:openssl-devel-1.0.2k-21.el7_9.x86_64                                                                        36/78 
  验证中      : krb5-devel-1.15.1-50.el7.x86_64                                                                               37/78 
  验证中      : dracut-network-033-572.el7.x86_64                                                                             38/78 
  验证中      : libsemanage-2.5-14.el7.x86_64                                                                                 39/78 
  验证中      : krb5-libs-1.15.1-50.el7.x86_64                                                                                40/78 
  验证中      : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64                                                          41/78 
  验证中      : 7:device-mapper-1.02.170-6.el7_9.5.x86_64                                                                     42/78 
  验证中      : libcom_err-devel-1.42.9-19.el7.x86_64                                                                         43/78 
  验证中      : policycoreutils-2.5-34.el7.x86_64                                                                             44/78 
  验证中      : 7:lvm2-2.02.115-3.el7.x86_64                                                                                  45/78 
  验证中      : dracut-network-033-240.el7.x86_64                                                                             46/78 
  验证中      : 7:device-mapper-event-libs-1.02.93-3.el7.x86_64                                                               47/78 
  验证中      : libgudev1-208-20.el7.x86_64                                                                                   48/78 
  验证中      : kmod-14-10.el7.x86_64                                                                                         49/78 
  验证中      : selinux-policy-targeted-3.13.1-23.el7.noarch                                                                  50/78 
  验证中      : cryptsetup-libs-1.6.6-3.el7.x86_64                                                                            51/78 
  验证中      : dracut-033-240.el7.x86_64                                                                                     52/78 
  验证中      : e2fsprogs-1.42.9-7.el7.x86_64                                                                                 53/78 
  验证中      : centos-release-7-1.1503.el7.centos.2.8.x86_64                                                                 54/78 
  验证中      : e2fsprogs-libs-1.42.9-7.el7.x86_64                                                                            55/78 
  验证中      : libselinux-utils-2.2.2-6.el7.x86_64                                                                           56/78 
  验证中      : 1:openssl-1.0.1e-42.el7.x86_64                                                                                57/78 
  验证中      : glib2-2.40.0-4.el7.x86_64                                                                                     58/78 
  验证中      : systemd-208-20.el7.x86_64                                                                                     59/78 
  验证中      : 7:device-mapper-event-1.02.93-3.el7.x86_64                                                                    60/78 
  验证中      : initscripts-9.49.24-1.el7.x86_64                                                                              61/78 
  验证中      : selinux-policy-3.13.1-23.el7.noarch                                                                           62/78 
  验证中      : libsemanage-2.1.10-16.el7.x86_64                                                                              63/78 
  验证中      : libsepol-2.1.9-3.el7.x86_64                                                                                   64/78 
  验证中      : systemd-libs-208-20.el7.x86_64                                                                                65/78 
  验证中      : libcom_err-1.42.9-7.el7.x86_64                                                                                66/78 
  验证中      : 7:lvm2-libs-2.02.115-3.el7.x86_64                                                                             67/78 
  验证中      : 1:openssl-libs-1.0.1e-42.el7.x86_64                                                                           68/78 
  验证中      : dracut-config-rescue-033-240.el7.x86_64                                                                       69/78 
  验证中      : systemd-sysv-208-20.el7.x86_64                                                                                70/78 
  验证中      : libss-1.42.9-7.el7.x86_64                                                                                     71/78 
  验证中      : libselinux-python-2.2.2-6.el7.x86_64                                                                          72/78 
  验证中      : policycoreutils-2.2.5-15.el7.x86_64                                                                           73/78 
  验证中      : 7:device-mapper-libs-1.02.93-3.el7.x86_64                                                                     74/78 
  验证中      : device-mapper-persistent-data-0.4.1-2.el7.x86_64                                                              75/78 
  验证中      : libselinux-2.2.2-6.el7.x86_64                                                                                 76/78 
  验证中      : krb5-libs-1.12.2-14.el7.x86_64                                                                                77/78 
  验证中      : 7:device-mapper-1.02.93-3.el7.x86_64                                                                          78/78 

已安装:
  openssl-devel.x86_64 1:1.0.2k-21.el7_9                                                                                            

作为依赖被安装:
  bc.x86_64 0:1.06.95-13.el7                  keyutils-libs-devel.x86_64 0:1.5.8-3.el7     krb5-devel.x86_64 0:1.15.1-50.el7       
  libcom_err-devel.x86_64 0:1.42.9-19.el7     libkadm5.x86_64 0:1.15.1-50.el7              libselinux-devel.x86_64 0:2.5-15.el7    
  libsepol-devel.x86_64 0:2.5-10.el7          libverto-devel.x86_64 0:0.2.5-4.el7          lz4.x86_64 0:1.8.3-1.el7                

更新完毕:
  centos-release.x86_64 0:7-9.2009.1.el7.centos                              dracut.x86_64 0:033-572.el7                            
  initscripts.x86_64 0:9.49.53-1.el7_9.1                                     openssl.x86_64 1:1.0.2k-21.el7_9                       
  selinux-policy-targeted.noarch 0:3.13.1-268.el7_9.2                        systemd.x86_64 0:219-78.el7_9.3                        

作为依赖被升级:
  cryptsetup-libs.x86_64 0:2.0.3-6.el7                          device-mapper.x86_64 7:1.02.170-6.el7_9.5                           
  device-mapper-event.x86_64 7:1.02.170-6.el7_9.5               device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5                
  device-mapper-libs.x86_64 7:1.02.170-6.el7_9.5                device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2              
  dracut-config-rescue.x86_64 0:033-572.el7                     dracut-network.x86_64 0:033-572.el7                                 
  e2fsprogs.x86_64 0:1.42.9-19.el7                              e2fsprogs-libs.x86_64 0:1.42.9-19.el7                               
  glib2.x86_64 0:2.56.1-9.el7_9                                 kmod.x86_64 0:20-28.el7                                             
  krb5-libs.x86_64 0:1.15.1-50.el7                              libcom_err.x86_64 0:1.42.9-19.el7                                   
  libgudev1.x86_64 0:219-78.el7_9.3                             libselinux.x86_64 0:2.5-15.el7                                      
  libselinux-python.x86_64 0:2.5-15.el7                         libselinux-utils.x86_64 0:2.5-15.el7                                
  libsemanage.x86_64 0:2.5-14.el7                               libsepol.x86_64 0:2.5-10.el7                                        
  libss.x86_64 0:1.42.9-19.el7                                  lvm2.x86_64 7:2.02.187-6.el7_9.5                                    
  lvm2-libs.x86_64 7:2.02.187-6.el7_9.5                         openssl-libs.x86_64 1:1.0.2k-21.el7_9                               
  policycoreutils.x86_64 0:2.5-34.el7                      

安装gcc-c++

$ yum -y install gcc-c++
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 gcc-c++.x86_64.0.4.8.5-44.el7 将被 安装
--> 正在处理依赖关系 libstdc++-devel = 4.8.5-44.el7,它被软件包 gcc-c++-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 libstdc++ = 4.8.5-44.el7,它被软件包 gcc-c++-4.8.5-44.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libstdc++.x86_64.0.4.8.3-9.el7 将被 升级
---> 软件包 libstdc++.x86_64.0.4.8.5-44.el7 将被 更新
---> 软件包 libstdc++-devel.x86_64.0.4.8.5-44.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                              架构                        版本                              源                         大小
====================================================================================================================================
正在安装:
 gcc-c++                              x86_64                      4.8.5-44.el7                      base                      7.2 M
为依赖而安装:
 libstdc++-devel                      x86_64                      4.8.5-44.el7                      base                      1.5 M
为依赖而更新:
 libstdc++                            x86_64                      4.8.5-44.el7                      base                      306 k

事务概要
====================================================================================================================================
安装  1 软件包 (+1 依赖软件包)
升级           ( 1 依赖软件包)

总下载量:9.0 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/3): libstdc++-4.8.5-44.el7.x86_64.rpm                                                                     | 306 kB  00:00:00     
(2/3): libstdc++-devel-4.8.5-44.el7.x86_64.rpm                                                               | 1.5 MB  00:00:00     
(3/3): gcc-c++-4.8.5-44.el7.x86_64.rpm                                                                       | 7.2 MB  00:00:01     
------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                5.2 MB/s | 9.0 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : libstdc++-4.8.5-44.el7.x86_64                                                                                   1/4 
  正在安装    : libstdc++-devel-4.8.5-44.el7.x86_64                                                                             2/4 
  正在安装    : gcc-c++-4.8.5-44.el7.x86_64                                                                                     3/4 
  清理        : libstdc++-4.8.3-9.el7.x86_64                                                                                    4/4 
  验证中      : libstdc++-4.8.5-44.el7.x86_64                                                                                   1/4 
  验证中      : gcc-c++-4.8.5-44.el7.x86_64                                                                                     2/4 
  验证中      : libstdc++-devel-4.8.5-44.el7.x86_64                                                                             3/4 
  验证中      : libstdc++-4.8.3-9.el7.x86_64                                                                                    4/4 

已安装:

安装libtool

$ yum -y install libtool
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 libtool.x86_64.0.2.4.2-22.el7_3 将被 安装
--> 正在处理依赖关系 automake,它被软件包 libtool-2.4.2-22.el7_3.x86_64 需要
--> 正在处理依赖关系 autoconf,它被软件包 libtool-2.4.2-22.el7_3.x86_64 需要
--> 正在检查事务
---> 软件包 autoconf.noarch.0.2.69-11.el7 将被 安装
--> 正在处理依赖关系 m4 >= 1.4.14,它被软件包 autoconf-2.69-11.el7.noarch 需要
--> 正在处理依赖关系 perl(Data::Dumper),它被软件包 autoconf-2.69-11.el7.noarch 需要
---> 软件包 automake.noarch.0.1.13.4-3.el7 将被 安装
--> 正在处理依赖关系 perl(Thread::Queue),它被软件包 automake-1.13.4-3.el7.noarch 需要
--> 正在处理依赖关系 perl(TAP::Parser),它被软件包 automake-1.13.4-3.el7.noarch 需要
--> 正在检查事务
---> 软件包 m4.x86_64.0.1.4.16-10.el7 将被 安装
---> 软件包 perl-Data-Dumper.x86_64.0.2.145-3.el7 将被 安装
---> 软件包 perl-Test-Harness.noarch.0.3.28-3.el7 将被 安装
---> 软件包 perl-Thread-Queue.noarch.0.3.02-2.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                               架构                       版本                               源                        大小
====================================================================================================================================
正在安装:
 libtool                               x86_64                     2.4.2-22.el7_3                     base                     588 k
为依赖而安装:
 autoconf                              noarch                     2.69-11.el7                        base                     701 k
 automake                              noarch                     1.13.4-3.el7                       base                     679 k
 m4                                    x86_64                     1.4.16-10.el7                      base                     256 k
 perl-Data-Dumper                      x86_64                     2.145-3.el7                        base                      47 k
 perl-Test-Harness                     noarch                     3.28-3.el7                         base                     302 k
 perl-Thread-Queue                     noarch                     3.02-2.el7                         base                      17 k

事务概要
====================================================================================================================================
安装  1 软件包 (+6 依赖软件包)

总下载量:2.5 M
安装大小:7.3 M
Downloading packages:
(1/7): autoconf-2.69-11.el7.noarch.rpm                                                                       | 701 kB  00:00:00     
(2/7): m4-1.4.16-10.el7.x86_64.rpm                                                                           | 256 kB  00:00:00     
(3/7): libtool-2.4.2-22.el7_3.x86_64.rpm                                                                     | 588 kB  00:00:00     
(4/7): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                                                               |  47 kB  00:00:00     
(5/7): perl-Thread-Queue-3.02-2.el7.noarch.rpm                                                               |  17 kB  00:00:00     
(6/7): perl-Test-Harness-3.28-3.el7.noarch.rpm                                                               | 302 kB  00:00:00     
(7/7): automake-1.13.4-3.el7.noarch.rpm                                                                      | 679 kB  00:00:00     
------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                3.2 MB/s | 2.5 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : m4-1.4.16-10.el7.x86_64                                                                                         1/7 
  正在安装    : perl-Thread-Queue-3.02-2.el7.noarch                                                                             2/7 
  正在安装    : perl-Test-Harness-3.28-3.el7.noarch                                                                             3/7 
  正在安装    : perl-Data-Dumper-2.145-3.el7.x86_64                                                                             4/7 
  正在安装    : autoconf-2.69-11.el7.noarch                                                                                     5/7 
  正在安装    : automake-1.13.4-3.el7.noarch                                                                                    6/7 
  正在安装    : libtool-2.4.2-22.el7_3.x86_64                                                                                   7/7 
  验证中      : autoconf-2.69-11.el7.noarch                                                                                     1/7 
  验证中      : perl-Data-Dumper-2.145-3.el7.x86_64                                                                             2/7 
  验证中      : perl-Test-Harness-3.28-3.el7.noarch                                                                             3/7 
  验证中      : perl-Thread-Queue-3.02-2.el7.noarch                                                                             4/7 
  验证中      : automake-1.13.4-3.el7.noarch                                                                                    5/7 
  验证中      : m4-1.4.16-10.el7.x86_64                                                                                         6/7 
  验证中      : libtool-2.4.2-22.el7_3.x86_64                                                                                   7/7 

已安装:
  libtool.x86_64 0:2.4.2-22.el7_3                                                                                                   

作为依赖被安装:
  autoconf.noarch 0:2.69-11.el7              automake.noarch 0:1.13.4-3.el7             m4.x86_64 0:1.4.16-10.el7                 
  perl-Data-Dumper.x86_64 0:2.145-3.el7      perl-Test-Harness.noarch 0:3.28-3.el7      perl-Thread-Queue.noarch 0:3.02-2.el7     

完毕!

安装nginx

下载nginx安装包

# 下载目录 : /opt/soft
$ cd /opt/soft
$ wget http://nginx.org/download/nginx-1.14.0.tar.gz 
--2021-08-08 15:54:24--  http://nginx.org/download/nginx-1.14.0.tar.gz
正在解析主机 nginx.org (nginx.org)... 52.58.199.22, 3.125.197.172, 2a05:d014:edb:5704::6, ...
正在连接 nginx.org (nginx.org)|52.58.199.22|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1016272 (992K) [application/octet-stream]
正在保存至: “nginx-1.14.0.tar.gz”
100%[==========================================================================================>] 1,016,272    249KB/s 用时 4.0s 
2021-08-08 15:54:28 (249 KB/s) - 已保存 “nginx-1.14.0.tar.gz” [1016272/1016272])

把压缩包解压到/usr/local/nginx

$ pwd
/opt/soft
$ tar -zxvf nginx-1.14.0.tar.gz 
nginx-1.14.0/
nginx-1.14.0/auto/
nginx-1.14.0/conf/
nginx-1.14.0/contrib/
...
nginx-1.14.0/auto/cc/name
nginx-1.14.0/auto/cc/owc
nginx-1.14.0/auto/cc/sunc
$ mv ./nginx-1.14.0 /usr/local/nginx
$ cd /usr/local/nginx/
$ ll
总用量 732
drwxr-xr-x. 6 1001 1001   4096 8月   8 15:55 auto
-rw-r--r--. 1 1001 1001 286953 4月  17 2018 CHANGES
-rw-r--r--. 1 1001 1001 437286 4月  17 2018 CHANGES.ru
drwxr-xr-x. 2 1001 1001   4096 8月   8 15:55 conf
-rwxr-xr-x. 1 1001 1001   2502 4月  17 2018 configure
drwxr-xr-x. 4 1001 1001     68 8月   8 15:55 contrib
drwxr-xr-x. 2 1001 1001     38 8月   8 15:55 html
-rw-r--r--. 1 1001 1001   1397 4月  17 2018 LICENSE
drwxr-xr-x. 2 1001 1001     20 8月   8 15:55 man
-rw-r--r--. 1 1001 1001     49 4月  17 2018 README
drwxr-xr-x. 9 1001 1001     84 8月   8 15:55 src
$

nginx初始化配置

$ cd /usr/local/nginx/
$ ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie' --user=nginx --group=nginx
checking for OS
 + Linux 3.10.0-957.el7.x86_64 x86_64
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
checking for gcc -pipe switch ... found
。。。
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile

Configuration summary
  + using threads
  + using system PCRE library
  + using system OpenSSL library
  + using system zlib library

  nginx path prefix: "/etc/nginx"
  nginx binary file: "/usr/sbin/nginx"
  nginx modules path: "/usr/lib64/nginx/modules"
  nginx configuration prefix: "/etc/nginx"
  nginx configuration file: "/etc/nginx/nginx.conf"
  nginx pid file: "/var/run/nginx.pid"
  nginx error log file: "/var/log/nginx/error.log"
  nginx http access log file: "/var/log/nginx/access.log"
  nginx http client request body temporary files: "/var/cache/nginx/client_temp"
  nginx http proxy temporary files: "/var/cache/nginx/proxy_temp"
  nginx http fastcgi temporary files: "/var/cache/nginx/fastcgi_temp"
  nginx http uwsgi temporary files: "/var/cache/nginx/uwsgi_temp"
  nginx http scgi temporary files: "/var/cache/nginx/scgi_temp"

# 说明
configure 
--prefix=/etc/nginx 
--sbin-path=/usr/sbin/nginx 
--modules-path=/usr/lib64/nginx/modules 
--conf-path=/etc/nginx/nginx.conf 
--error-log-path=/var/log/nginx/error.log 
--http-log-path=/var/log/nginx/access.log 
--pid-path=/var/run/nginx.pid 
--lock-path=/var/run/nginx.lock 
--http-client-body-temp-path=/var/cache/nginx/client_temp 
--http-proxy-temp-path=/var/cache/nginx/proxy_temp 
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp 
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp 
--http-scgi-temp-path=/var/cache/nginx/scgi_temp 
--with-compat 
--with-file-aio 
--with-threads 
--with-http_addition_module 
--with-http_auth_request_module 
--with-http_dav_module 
--with-http_flv_module 
--with-http_gunzip_module 
--with-http_gzip_static_module 
--with-http_mp4_module 
--with-http_random_index_module 
--with-http_realip_module 
--with-http_secure_link_module 
--with-http_slice_module 
--with-http_ssl_module 
--with-http_stub_status_module 
--with-http_sub_module 
--with-http_v2_module 
--with-mail 
--with-mail_ssl_module 
--with-stream 
--with-stream_realip_module 
--with-stream_ssl_module 
--with-stream_ssl_preread_module 
--with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' 
--with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie' 
--user=nginx 
--group=nginx 

参数说明: --prefix 指定自己要安装的路径
参数说明: --user=nginx --group=nginx   (nginx编译安装之后,启动出现了:nginx: [emerg] getpwnam("nginx") failed)
特殊需求: --with-http_xslt_module

在"./configure"配置中,"–with"表示启用模块,也就是说这些模块在编译时不会自动构建,"–without"表示禁用模块,也就是说这些模块在编译时会自动构建,若你想Nginx轻量级运行,可以去除一些不必要的模块。

$ ./configure --help
  # 打印帮助信息。
  --help                             print this message
  # 设置软件安装目录路径。
  --prefix=PATH                      set installation prefix
  # 设置可执行文件安装目录路径。
  --sbin-path=PATH                   set nginx binary pathname
  #设置模块安装目录路径。
  --modules-path=PATH                set modules path
  #设置配置文件安装目录路径。
  --conf-path=PATH                   set nginx.conf pathname
  # 设置错误日志文件安装目录路径。
  --error-log-path=PATH              set error log pathname
  # 设置进程文件安装目录路径。
  --pid-path=PATH                    set nginx.pid pathname : 
  # 设置NGINX锁文件安装目录路径,当NGINX运行时会自动创建该文件,用于在一台服务器上只允许运行一个NGINX服务。
  --lock-path=PATH                   set nginx.lock pathname
  # 设置运行进程时所使用的系统用户,如果没有指定,则默认为nobody,就算安装时不指定,后期也可以通过修改"nginx.conf"配置文件中的"user"项修改。
  --user=USER                        set non-privileged user for worker processes 
  # 设置运行进程时所使用的用户组。
  --group=GROUP                      set non-privileged group for worker processes
  # 设置编译名,一个描述,没有任何其他作用。
  --build=NAME                       set build name : 
  # 设置编译目录,会将编译后生成的文件写入到这个目录中。
  --builddir=DIR                     set build directory : 
  
  # 启用或禁用select事件驱动模型。默认情况下在Linux2.6以上的内核版本中,Nginx支持使用Epoll高效的事件模型,我们可以在配置文件中使用"use epoll"指令开启它。
  --with-select_module               enable select module : 
  --without-select_module            disable select module : 
  # 启用或禁用poll事件驱动模型。默认情况下在Linux2.6以上的内核版本中,Nginx支持使用Epoll高效的事件模型,我们可以在配置文件中使用"use epoll"指令开启它。
  --with-poll_module                 enable poll module
  --without-poll_module              disable poll module
  
  # 启用线程池功能。一般情况下主机有几核处理器在启动NGINX时就会创建几个Worker工作进程,进程创建线程处理每一个请求,当在CPU密集型计算、资源访问的环境下,很多请求都会开启对应的线程,可能会由于磁盘IO限制导致的线程处理请求时间变长,这不是我们期望看到的,我们就可以启用线程池功能,让请求排队等待处理,并且可以充分利用CPU提高处理效率。开启线程池需要AIO的支持。
  --with-threads                     enable thread pool support
  # 启用异步文件IO(AIO)支持。AIO中文名为异步非阻塞性IO,当请求时,线程需要通过内存去硬盘中获取数据的处理方式,线程无需等待内存完全的从硬盘中得到完整的数据,而是去做其他的事情了,等待内存获取完成,再分配一个新的线程去处理,然后将响应数据返回给用户,采用这种方式可以提高处理效率。
  --with-file-aio                    enable file AIO support

  # 启用HTTP_SSL模块,用于构建HTTPS服务。默认情况下不构建此模块。
  --with-http_ssl_module             enable ngx_http_ssl_module
  # 启用HTTP_V2模块,新的HTTP协议,相比HTTP1更优更快。默认情况下不构建此模块。
  --with-http_v2_module              enable ngx_http_v2_module
  # 启用HTTP_Realip模块,用于修改客户端请求头中客户端IP地址值,一般用于反向代理中,将真实的客户端IP传送给后端的应用服务器。默认情况下不构建此模块。
  --with-http_realip_module          enable ngx_http_realip_module
  # 启用HTTP_Addition模块,用于在响应之前和之后添加文本。默认情况下不构建此模块。
  --with-http_addition_module        enable ngx_http_addition_module
  
  # 启用HTTP_Xslt模块,这个模块是一个过滤器,它可以通过XSLT模板转换成XML响应。需要libxml2和libxslt库的支持。默认情况下不构建此模块。
  --with-http_xslt_module            enable ngx_http_xslt_module
  # 启用HTTP_Xslt动态模块,允许在配置文件中通过"load_module"指令手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-http_xslt_module=dynamic    enable dynamic ngx_http_xslt_module
  
  # 启用HTTP_Image_Filter模块,这个模块是一个集成图片处理器,我们可以使用它转换JPEG、GIF、PNG和WEBP格式的图像,验证这些格式图像的有效型(是不是此格式的图像),输出JSON格式的图像信息,旋转图像,按比例缩放图像,剪切图片等。默认情况下不构建此模块。
  --with-http_image_filter_module    enable ngx_http_image_filter_module
  # 启用HTTP_Image_Filter动态模块,允许在配置文件中通过"load_module"指令手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-http_image_filter_module=dynamic enable dynamic ngx_http_image_filter_module
  
  # 启用HTTP_Geoip模块,这个模块用于处理不同地区的访问,当来自某一个区域的访问时将其重定向到对应的服务或者项目上,需要MaxMind GeoIP库的支持。默认情况下不构建此模块。
  --with-http_geoip_module           enable ngx_http_geoip_module
  # 启用HTTP_Geoip动态模块,允许在配置文件中通过"load_module"指令手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-http_geoip_module=dynamic   enable dynamic ngx_http_geoip_module
  
  # 启用HTTP_Sub模块,这个模块是一个过滤器,用于修改响应的内容,可以将一个指定的字符串替换成另一个字符串。默认情况下不构建此模块。
  --with-http_sub_module             enable ngx_http_sub_module
  # 启用HTTP_DAV模块,用于通过WEBDAV协议提供WEB的文件管理功能,类似于一个WEB的文件管理器,可以对服务器的文件进行管理。默认情况下不构建此模块。
  --with-http_dav_module             enable ngx_http_dav_module
  # 启用HTTP_FLV模块,用于为Flash Video(FLV)文件提供伪流视频服务端支持,开启它则允许在网页上播放FLV格式的视频。默认情况下不构建此模块。
  --with-http_flv_module             enable ngx_http_flv_module
  # 启用HTTP_MP4模块,用于为MP4格式的视频文件提供伪流视频服务端支持,开启它则允许在网页上播放MP4格式的视频。默认情况下不构建此模块。
  --with-http_mp4_module             enable ngx_http_mp4_module
  # 启用HTTP_Gunzip模块,用于为不支持"gzip"编码方式的客户端解压响应,有些浏览器不支持"gzip"编码格式的请求和响应传输,若服务器开启了内容传输压缩功能(Gzip),则需要开启此项,服务器会本地解压数据,将数据传送给浏览器客户端。默认情况下不构建此模块。
  --with-http_gunzip_module          enable ngx_http_gunzip_module
  # 启用HTTP_Gzip_Static模块,用于将静态内容压缩成".gz"为文件扩展名的预压缩文件,并缓存在本地,在响应时会将此文件发送以替代普通文件,运用此模块的好处就是不需要(Gzip)每次传输时都需要对文件进行处理压缩。在用于Squid+Nginx环境下,当Nginx启用(Gzip)内容传输压缩功能时,在使用Squid3.0以前版本搭建环境时会发现,Squid返回给客户端的并不是压缩状态,这就是由于没有启用此模块导致的。默认情况下不构建此模块。
  --with-http_gzip_static_module     enable ngx_http_gzip_static_module
  # 启用HTTP_Auth_Request模块,此模块是一个请求验证模块,可以使用外部服务器或服务对网站的每个请求进行身份验证,当用户访问时,Nginx会向用于验证请求的外部服务器发出验证请求,若返回的状态码为200,则通过允许访问,若返回401或403,则访问会被拒绝。默认情况下不构建此模块。
  --with-http_auth_request_module    enable ngx_http_auth_request_module
  # 启用HTTP_Random_Index模块,随机主页模块,当用户访问时,随机响应一个主页,而并非由"index"指令定义的一个主页,而是从主页池中随机选中一个主页面返回。默认情况下不构建此模块。
  --with-http_random_index_module    enable ngx_http_random_index_module
  # 启用HTTP_Secure_Link模块,防盗链模块,用于检查请求链接的权限以及是否过期,多用于文件下载防盗链。默认情况下不构建此模块。
  --with-http_secure_link_module     enable ngx_http_secure_link_module
  # 启用HTTP_Degradation模块,用于当主机剩余内存较低时,用户请求访问,Nginx会对某些"location"的请求返回204或444的响应码。默认情况下不构建此模块。
  --with-http_degradation_module     enable ngx_http_degradation_module
  # 启用HTTP_Slice模块,此模块是一个过滤器,用于将一个大的完整的文件分割成多个小块文件,分段传送给用户,一般用于大文件传输的场景下,使用它可以让用户快速的得到响应。默认情况下不构建此模块。
  --with-http_slice_module           enable ngx_http_slice_module
  # 启用HTTP_Stub_Status模块,状态信息统计模块,用于返回一个Nginx状态信息统计信息页面,管理员访问这个页面可以获取Nginx的请求处理、当前连接、等待连接等统计信息,一般用于监控Nginx的运行状态。默认情况下不构建此模块。
  --with-http_stub_status_module     enable ngx_http_stub_status_module
  # 禁用HTTP_Charset模块,此模块用于将指定的字符集添加到"Content-Type"响应头字段中。此外此模块还可以将数据从一个字符集转换为另一个字符集,此模块用于字符集设置。不建议禁用。
  --without-http_charset_module      disable ngx_http_charset_module
  # 禁用HTTP_Gzip模块,此模块用于HTTP响应内容传输压缩,可以将响应内存在传输时将其压缩成Gzip编码格式的响应传送给客户端,使用Gzip编码格式响应内容体积会变小,会提高传输效率。不建议禁用。
  --without-http_gzip_module         disable ngx_http_gzip_module
  # 禁用HTTP_SSI模块,此模块是一个过滤器,用于处理通过它响应中的SSI(Server Side Includes)命令。目前支持的SSI命令列表并不完整,SSI指令是一种可以嵌入WEB页面的一种语法指令。
  --without-http_ssi_module          disable ngx_http_ssi_module
  # 禁用HTTP_Userid模块,此模块用于识别客户端的Cookie。可以使用嵌入变量"$uid_got"和"$uid_set"记录已接受和设置的Cookie。
  --without-http_userid_module       disable ngx_http_userid_module
  # 禁用HTTP_Access模块,此模块用于限制对某些客户端地址的访问,Allow or Deny。不建议禁用。
  --without-http_access_module       disable ngx_http_access_module
  # 禁用HTTP_Auth_Basic模块,该模块用于HTTP基本身份验证,使用用户名和密码来限制对资源的访问。
  --without-http_auth_basic_module   disable ngx_http_auth_basic_module
  # 禁用HTTP_Mirror模块,该模块用于将正式环境的流量拷贝到镜像(测试)环境下,一般用于测试环境引入真实环境的流量实现对测试环境的压力测试。
  --without-http_mirror_module       disable ngx_http_mirror_module
  # 禁用HTTP_Autoindex模块,该模块用于在处理以斜杠字符('/')结尾的请求,并在找不到索引文件的情况下生成目录列表。
  --without-http_autoindex_module    disable ngx_http_autoindex_module
  # 禁用HTTP_Geo模块,该模块用于从指定变量中获取客户端的IP地址,并将其嵌入到另外一个变量中。默认情况下从"$remote_addr"变量中取得客户端的IP地址。我们可以通过它结合"HTTP_Upstream"实现对来源客户端的负载均衡,当来自不同的客户端请求时,将其负载均衡给后端的不同的服务器处理;还可以使用它结合"HTTP_Map"+"HTTP_Limit_Conn"模块实现对来源客户端的限速功能
  --without-http_geo_module          disable ngx_http_geo_module
  # 禁用HTTP_Map模块,该模块用于创建一个变量的映射表,结果变量可以是一个字符串也可以是另外一个变量。
  --without-http_map_module          disable ngx_http_map_module
  # 禁用HTTP_Splic_Clients模块,该模块用于创建适用于A/B测试的变量,AB测试也称之为拆分测试,也就是将一个项目的两个不同版本发布,看用户更喜欢用于那个版本,若版本A受欢迎则发布版本A。
  --without-http_split_clients_module disable ngx_http_split_clients_module
  # 禁用HTTP_Referer模块,该模块用于防盗链,用于阻止对请求头部"referer"字段具有无效值的请求访问,可以设置一个白名单,非白名单的无效来源网址的连接则会拒绝请求,使用此模块我们还需考虑到,即使对于有效的请求,常规浏览器也可能不发送"referer"字段。不建议禁用。
  --without-http_referer_module      disable ngx_http_referer_module
  # 禁用HTTP_Rewerte模块,该模块用于地址重写,用于将来源请求地址重定向到指定的地址上,可以保护真实的地址,增加安全性,该模块需要PCRE库的支持。不建议禁用。
  --without-http_rewrite_module      disable ngx_http_rewrite_module
  # 禁用HTTP_Proxy模块,该模块用于将请求代理传递到另外一台WEB服务器去处理,Nginx的核心模块。不建议禁用
  --without-http_proxy_module        disable ngx_http_proxy_module
  # 禁用HTTP_FastCGI模块,该模块用于将请求代理传递到另外一台FastCGI服务器去处理,一般用于反代PHP。不建议禁用。
  --without-http_fastcgi_module      disable ngx_http_fastcgi_module
  # 禁用HTTP_UwSGI模块,该模块用于将请求代理传递给另外一台UwSGI服务器去处理。
  --without-http_uwsgi_module        disable ngx_http_uwsgi_module
  # 禁用HTTP_SCGI模块,该模块用于将请求代理传递给另外一台SCGI服务器去处理。
  --without-http_scgi_module         disable ngx_http_scgi_module
  # 禁用HTTP_Grpc模块,该模块用于将请求代理传递给另外一台Grpc服务器去处理。
  --without-http_grpc_module         disable ngx_http_grpc_module
  # 禁用HTTP_Memcached模块,该模块用于Nginx从Memcached服务器获取响应内容。一般用于Nginx+后端服务器+Memcached的环境下,当用户第一请求时,Nginx去Memcached中读取缓存数据,若没有则就请求后端的服务器去处理,后端服务器将静态页面的数据写入到Memcached缓存服务器中并返回响应给Nginx传递给用户,当用户第二次请求时则Nginx直接从Memcached缓存服务器中获取缓存的静态页面内容,Memcached缓存服务器是基于内存的,所以可以减少磁盘IO的使用,提高响应效率。
  --without-http_memcached_module    disable ngx_http_memcached_module
  # 禁用HTTP_Limit_Conn模块,该模块用于限制并发连接数量以及下载带宽限制。
  --without-http_limit_conn_module   disable ngx_http_limit_conn_module
  # 禁用HTTP_Limit_Req模块,该模块用于限制请求数量,可以限制请求的频率。
  --without-http_limit_req_module    disable ngx_http_limit_req_module
  # 禁用HTTP_Empty_Gif模块,该模块会在内容中常驻的一个1X1的透明空白的GIF图像,当用户请求时,返回该图像,一般用于测试。
  --without-http_empty_gif_module    disable ngx_http_empty_gif_module
  # 禁用HTTP_Browser模块,该模块用于创建变量,变量的值取决于请求头中"user-agent"的值,一般用于区别新式或者旧式浏览器,若新式浏览器则将请求重定向到新式的WEB页面中,呈现新页面,若为旧式浏览器则将返回旧式的WEB页面
  --without-http_browser_module      disable ngx_http_browser_module
  #禁用HTTP_Upstream_Hash模块,该模块提供了由"Upstream"指令定义的一组服务器的负载均衡方法"Hash",该方法基于散列键值(hash),它会将客户端+服务端的映射关系存放到一个散列键值表中,当客户端第二次请求时则会匹配关系将请求转发至后端的同一台服务器上,实现会话保持功能。该模块提供指令"hash",在会话保持中,我们唯一能标识客户端的标志就是SessionID,所以我们可以使用指令"hash $cookie_jsession"实现会话保持功能。不建议禁用。
  --without-http_upstream_hash_module disable ngx_http_upstream_hash_module
  # 禁用HTTP_Upstream_IP_Hash模块,该模块提供了由"Upstream"指令定义的一组服务器的负载均衡方法"ip_hash",该方法也用于会话保持,不过它是基于客户端IP的Hash方法,由于用户可能是ADSL接入的网络,所以客户端可能受动态IP影响会发生变化,所以一般不建议采用这种方法。

  --without-http_upstream_ip_hash_module disable ngx_http_upstream_ip_hash_module
  # 禁用HTTP_Upstream_Least_Conn模块,该模块提供了由"Upstream"指令定义的一组服务器的负载均衡方法"least_conn",该方法用于将请求传递到具有最少活动连接、权重较高(性能最好)的后端服务器上去处理。
  --without-http_upstream_least_conn_module disable ngx_http_upstream_least_conn_module
  # 禁用HTTP_Upstream_Keepalive模块,该模块可以为由"Upstream"指令定义的一组服务器提供保持长连接的功能,使用它则会为每个Worker工作进程与后端服务器保持空闲的长连接,连接数由"keepalive"指令指定,当空闲的长连接数量超过指定值时,将关闭最近最少使用的连接。
  --without-http_upstream_keepalive_module disable ngx_http_upstream_keepalive_module
  # 禁用HTTP_Upstream_Zone模块,该模块可以将由"Upstream"指令定义的服务器组运行时的状态存储在共享内存区域中。
  --without-http_upstream_zone_module disable ngx_http_upstream_zone_module
  # 启用HTTP_Perl模块,用于在Perl中实现位置和变量处理程序,并可以将Perl调用到SSI中。默认情况下不构建此模块。
  --with-http_perl_module            enable ngx_http_perl_module
  # 启用HTTP_Perl动态模块,允许在配置文件中通过"load_module"指定手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-http_perl_module=dynamic    enable dynamic ngx_http_perl_module
  # 设置一个用于保留Perl模块的目录路径。
  --with-perl_modules_path=PATH      set Perl modules path
  # 设置Perl可执行命令文件的路径。
  --with-perl=PATH                   set perl binary pathname
  # 设置访问日志文件存放目录路径。安装后,可以在主配置文件中使用"access_log"指令修改。
  --http-log-path=PATH               set http access log pathname
  # 设置用于存储客户端请求主体的临时文件存放目录路径。安装后,可以在主配置文件中使用"client_body_temp_path"指令修改。
  --http-client-body-temp-path=PATH  set path to store ,http client request body temporary files
  # 设置用于存储从代理服务器接受的数据临时文件存放目录路径。安装后,可以在主配置文件中使用"proxy_temp_path"指令修改。
  --http-proxy-temp-path=PATH        set path to store,http proxy temporary files
  # 设置用于存储从FastCGI服务器接受的数据临时文件存放目录路径。安装后,可以在主配置文件中使用"fastcgi_temp_path"指令修改。
  --http-fastcgi-temp-path=PATH      set path to store,http fastcgi temporary files
  # 设置用于存储从UwSGI服务器接受的数据临时文件存放目录路径。安装后,可以在主配置文件中使用"uwsgi_temp_path"指令修改。
  --http-uwsgi-temp-path=PATH        set path to store,http uwsgi temporary files
  # 设置用于存储从SCGI服务器接受的数据临时文件存放目录路径。安装后,可以在主配置文件中使用"scgi_temp_path"指令修改。
  --http-scgi-temp-path=PATH         set path to store,http scgi temporary files
  # 禁用HTTP_Core模块,该模块为Nginx的核心模块,用于提供HTTP服务所有核心功能。
  --without-http                     disable HTTP server
  # 禁用HTTP缓存。
  --without-http-cache               disable HTTP cache
  
  # 启用HTTP_Mail_Core模块,该模块为Nginx的核心模块,用于提供POP3/IMAP4/SMTP邮件代理服务。默认情况下不构建此模块。
  --with-mail                        enable POP3/IMAP4/SMTP proxy module
  # 启用HTTP_Mail_Core动态模块,允许在配置文件中通过"load_module"指令手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-mail=dynamic                enable dynamic POP3/IMAP4/SMTP proxy module
  # 启用Mail_SSL模块,用于邮件代理服务支持SSL/TLS协议,需要OpenSSL库的支持。默认情况下不构建此模块。
  --with-mail_ssl_module             enable ngx_mail_ssl_module
  # 禁用Mail_POP3模块,当启用HTTP_Mail_Core模块时,若你不想使用POP3协议,则可以考虑单独禁用此模块。不建议禁用。
  --without-mail_pop3_module         disable ngx_mail_pop3_module
  # 禁用Mail_IMAP模块,当启用HTTP_Mail_Core模块时,若你不想使用IMAP4协议,则可以考虑单独禁用此模块。不建议禁用。
  --without-mail_imap_module         disable ngx_mail_imap_module
  # 禁用Mail_SMTP模块,当启用HTTP_Mail_Core模块时,若你不想使用SMTP协议,则可以考虑单独禁用此模块。不建议禁用。
  --without-mail_smtp_module         disable ngx_mail_smtp_module

  #启用Stream_Core模块,Nginx的核心模块,用于实现TCP/UDP代理和四层负载均衡功能。默认情况下不构建此模块。此模块自Nginx1.9.0版本开始可用。
  --with-stream                      enable TCP/UDP proxy module
  # 启用Stream_Core动态模块,允许在配置文件中通过"load_module"指令手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-stream=dynamic              enable dynamic TCP/UDP proxy module
  # 启用Stream_SSL模块,用于提供SSL/TLS协议支持,需要OpenSSL库的支持。该模块用于Nginx四层负载功能中使用,需要开启Stream_Core模块。默认情况下不构建此模块。
  --with-stream_ssl_module           enable ngx_stream_ssl_module
  # 启用Stream_Realip模块,用于修改客户端请求头中客户端IP地址值,一般用于反向代理中,将真实的客户端IP传送给后端的应用服务器。该模块用于Nginx四层负载功能中使用,需要开启Stream_Core模块。默认情况下不构建此模块。
  --with-stream_realip_module        enable ngx_stream_realip_module
  # 启用Stream_Geoip模块,用于处理不同地区的访问,当来自某一个区域的访问时将其重定向到对应的服务或者项目上,需要MaxMind GeoIP库的支持。该模块用于Nginx四层负载功能中使用,需要开启Stream_Core模块。默认情况下不构建此模块。
  --with-stream_geoip_module         enable ngx_stream_geoip_module
  # 启用Stream_Geoip动态模块,允许在配置文件中通过"load_module"指令手动启用和禁用模块的使用。默认情况下不构建此模块。
  --with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module
  # 启用Stream_SSL_Preread模块,用于从客户端Hello消息中提取信息,而不会终止SSL/TLS。该模块用于Nginx四层负载功能中使用,需要开启Stream_Core模块。默认情况下不构建此模块。
  --with-stream_ssl_preread_module   enable ngx_stream_ssl_preread_module
  # 禁用Stream_Limit_Conn模块,该模块用于限制并发连接数量以及下载带宽限制功能。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能。不建议禁用。
  --without-stream_limit_conn_module disable ngx_stream_limit_conn_module
  # 禁用Stream_Access模块,该模块用于限制对某些客户端地址的访问。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能。不建议禁用。
  --without-stream_access_module     disable ngx_stream_access_module
  # 禁用Stream_Geo模块,该模块用于从指定变量中获取客户端的IP地址,并将其嵌入到另外一个变量中。默认情况下从"$remote_addr"变量中取得客户端的IP地址。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能。不建议禁用。
  --without-stream_geo_module        disable ngx_stream_geo_module
  # 禁用Stream_Map模块,该模块用于创建一个变量的映射表,结果变量可以是一个字符串也可以是另外一个变量。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能。不建议禁用。
  --without-stream_map_module        disable ngx_stream_map_module
  # 禁用Stream_Splic_Clients模块,该模块用于创建适用于A/B测试的变量,AB测试也称之为拆分测试,也就是将一个项目的两个不同版本发布,看用户更喜欢用于那个版本,若版本A受欢迎则发布版本A。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能。
  --without-stream_split_clients_module disable ngx_stream_split_clients_module
  # 禁用Stream_Return模块,该模块用于向客户端发送指定值,然后关闭连接。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能。不建议禁用。
  --without-stream_return_module     disable ngx_stream_return_module
  # 禁用Stream_Upstream_Hash模块,该模块提供四层负载均衡的一种调度方法,一般用于基于SessionID的会话保持场景下,当开启Stream_Core模块时自动开启此功能。不建议禁用。
  --without-stream_upstream_hash_module disable ngx_stream_upstream_hash_module
  # 禁用Stream_Upstream_IP_Hash模块,该模块提供四层负载均衡的一种调度方法,基于来源IP的会话保持方法,由于来源IP的不稳定性,我们一般很少采用此种方法。当开启Stream_Core模块时自动开启此功能。
  --without-stream_upstream_least_conn_module disable ngx_stream_upstream_least_conn_module
  # 禁用Stream_Upstream_Zone模块,该模块可以将由"Upstream"指令定义的服务器组运行时的状态存储在共享内存区域中。该模块用于Nginx四层负载功能中使用,当开启Stream_Core模块时自动开启此功能
  --without-stream_upstream_zone_module disable ngx_stream_upstream_zone_module
  # 启用Google_Perftools模块,用于可以使用Google Performance Tools分析Nginx的工作进程,分析程序性能瓶颈。该模块适用于Nginx开发人员,默认情况下不构建此模块。
  --with-google_perftools_module     enable ngx_google_perftools_module
  # 启用Cpp_Test模块,用于C++测试。该模块适用于Nginx开发人员,默认情况下不构建此模块。
  --with-cpp_test_module             enable ngx_cpp_test_module
  # 添加第三方模块,需要指定第三方模块所在目录路径。
  --add-module=PATH                  enable external module
  # 添加第三方动态模块,需要指定第三方动态模块所在目录路径。
  --add-dynamic-module=PATH          enable dynamic external module
  # 启用动态模块兼容性。
  --with-compat                      dynamic modules compatibility
  --with-cc=PATH                     set C compiler pathname
  # 设置GCC编译器所在目录路径。
  --with-cpp=PATH                    set C preprocessor pathname
  # 设置将添加到CFLAGS变量的其他参数,若在FreeBSD系统下使用PCRE库时,应指定"--with-ccc-opt="-I /usr/local/include""。若你在使用select事件驱动模型时,还可以使用它设置可打开的最大文件描述符数量,突破1024的限制,比如"--with-ccc-opt="-D FD_SETSIZE=2048""
  --with-cc-opt=OPTIONS              set additional C compiler options
  # 设置将在连接期间使用的其他参数,若在FreeBSD系统下使用PCRE库时,应指定"--with-ccc-opt="-L /usr/local/lib""。
  --with-ld-opt=OPTIONS              set additional linker options
  # 设置CPU型号,为特定的CPU执行编译操作,有效的值:pentium, pentiumpro, pentium3, pentium4, athlon, opteron, sparc32, sparc64,ppc64。
  --with-cpu-opt=CPU                 build for the specified CPU, valid values:
                                     pentium, pentiumpro, pentium3, pentium4,
                                     athlon, opteron, sparc32, sparc64, ppc64
  # 禁用PCRE库的使用。
  --without-pcre                     disable PCRE library usage
  # 启用PCRE库的使用。PCRE库是一个Perl库,包含Perl兼容的正则表达式。
  --with-pcre                        force PCRE library usage
  # 若你是源码安装的PCRE库,则需要通过此项设置PCRE库的所在目录路径。
  --with-pcre=DIR                    set path to PCRE library sources
  # 为PCRE设置其他要编译的选项。
  --with-pcre-opt=OPTIONS            set additional build options for PCRE
  # 启用"即时编译"的支持,开启此项,则会利用"pcre_jit"指令快速编译PCRE库。
  --with-pcre-jit                    build PCRE with JIT compilation support
  # 若你是源码安装的Zlib库,则需要通过此项设置Zlib库的所在目录路径。当启用HTTP_Gzip模块的时候需要此库的支持。
  --with-zlib=DIR                    set path to zlib library sources
  # 为Zlib设置其他要编译的选项。
  --with-zlib-opt=OPTIONS            set additional build options for zlib
  # 为Zlib库的编译设置特定CPU,会加快编译速度,有效值:pentium, pentiumpro。
  --with-zlib-asm=CPU                use zlib assembler sources optimized
                                     for the specified CPU, valid values:
                                     pentium, pentiumpro
  # 启用Libatomic_Ops库的使用。
  --with-libatomic                   force libatomic_ops library usage
  # 若你是源码安装的Libatomic_Ops库,则需要通过此项设置Libatomic_Ops库的所在目录路径。
  --with-libatomic=DIR               set path to libatomic_ops library sources

  # 若你是源码安装的OpenSSL库,则需要通过此项设置OpenSSL库的所在目录路径。
  --with-openssl=DIR                 set path to OpenSSL library sources
  # 为OpenSSL设置其他要编译的选项。
  --with-openssl-opt=OPTIONS         set additional build options for OpenSSL
  # 启用调试级别的日志。也可以手动修改主配置文件,使用"error_log /path/to/log debug;"指令设置调试级别的日志。
  --with-debug                       enable debug logging

$

nginx编译

$ pwd
/usr/local/nginx
$ make
make -f objs/Makefile
make[1]: 进入目录“/usr/local/nginx”
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/nginx.o \
        src/core/nginx.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_log.o \
        src/core/ngx_log.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_palloc.o \
        src/core/ngx_palloc.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_array.o \
        src/core/ngx_array.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_list.o \
        src/core/ngx_list.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_hash.o \
        src/core/ngx_hash.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_buf.o \
        src/core/ngx_buf.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_queue.o \
        src/core/ngx_queue.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_output_chain.o \
        src/core/ngx_output_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_string.o \
        src/core/ngx_string.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_parse.o \
        src/core/ngx_parse.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_parse_time.o \
        src/core/ngx_parse_time.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_inet.o \
        src/core/ngx_inet.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_file.o \
        src/core/ngx_file.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_crc32.o \
        src/core/ngx_crc32.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_murmurhash.o \
        src/core/ngx_murmurhash.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_md5.o \
        src/core/ngx_md5.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_sha1.o \
        src/core/ngx_sha1.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_rbtree.o \
        src/core/ngx_rbtree.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_radix_tree.o \
        src/core/ngx_radix_tree.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_slab.o \
        src/core/ngx_slab.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_times.o \
        src/core/ngx_times.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_shmtx.o \
        src/core/ngx_shmtx.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_connection.o \
        src/core/ngx_connection.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_cycle.o \
        src/core/ngx_cycle.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_spinlock.o \
        src/core/ngx_spinlock.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_rwlock.o \
        src/core/ngx_rwlock.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_cpuinfo.o \
        src/core/ngx_cpuinfo.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_conf_file.o \
        src/core/ngx_conf_file.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_module.o \
        src/core/ngx_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_resolver.o \
        src/core/ngx_resolver.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_open_file_cache.o \
        src/core/ngx_open_file_cache.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_crypt.o \
        src/core/ngx_crypt.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_proxy_protocol.o \
        src/core/ngx_proxy_protocol.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_syslog.o \
        src/core/ngx_syslog.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event.o \
        src/event/ngx_event.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_timer.o \
        src/event/ngx_event_timer.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_posted.o \
        src/event/ngx_event_posted.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_accept.o \
        src/event/ngx_event_accept.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_udp.o \
        src/event/ngx_event_udp.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_connect.o \
        src/event/ngx_event_connect.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_pipe.o \
        src/event/ngx_event_pipe.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_time.o \
        src/os/unix/ngx_time.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_errno.o \
        src/os/unix/ngx_errno.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_alloc.o \
        src/os/unix/ngx_alloc.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_files.o \
        src/os/unix/ngx_files.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_socket.o \
        src/os/unix/ngx_socket.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_recv.o \
        src/os/unix/ngx_recv.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_readv_chain.o \
        src/os/unix/ngx_readv_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_udp_recv.o \
        src/os/unix/ngx_udp_recv.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_send.o \
        src/os/unix/ngx_send.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_writev_chain.o \
        src/os/unix/ngx_writev_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_udp_send.o \
        src/os/unix/ngx_udp_send.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_udp_sendmsg_chain.o \
        src/os/unix/ngx_udp_sendmsg_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_channel.o \
        src/os/unix/ngx_channel.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_shmem.o \
        src/os/unix/ngx_shmem.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_process.o \
        src/os/unix/ngx_process.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_daemon.o \
        src/os/unix/ngx_daemon.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_setaffinity.o \
        src/os/unix/ngx_setaffinity.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_setproctitle.o \
        src/os/unix/ngx_setproctitle.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_posix_init.o \
        src/os/unix/ngx_posix_init.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_user.o \
        src/os/unix/ngx_user.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_dlopen.o \
        src/os/unix/ngx_dlopen.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_process_cycle.o \
        src/os/unix/ngx_process_cycle.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_linux_init.o \
        src/os/unix/ngx_linux_init.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/modules/ngx_epoll_module.o \
        src/event/modules/ngx_epoll_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_linux_sendfile_chain.o \
        src/os/unix/ngx_linux_sendfile_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_linux_aio_read.o \
        src/os/unix/ngx_linux_aio_read.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_thread_pool.o \
        src/core/ngx_thread_pool.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_thread_cond.o \
        src/os/unix/ngx_thread_cond.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_thread_mutex.o \
        src/os/unix/ngx_thread_mutex.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_thread_id.o \
        src/os/unix/ngx_thread_id.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_openssl.o \
        src/event/ngx_event_openssl.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_openssl_stapling.o \
        src/event/ngx_event_openssl_stapling.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_regex.o \
        src/core/ngx_regex.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http.o \
        src/http/ngx_http.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_core_module.o \
        src/http/ngx_http_core_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_special_response.o \
        src/http/ngx_http_special_response.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_request.o \
        src/http/ngx_http_request.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_parse.o \
        src/http/ngx_http_parse.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_log_module.o \
        src/http/modules/ngx_http_log_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_request_body.o \
        src/http/ngx_http_request_body.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_variables.o \
        src/http/ngx_http_variables.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_script.o \
        src/http/ngx_http_script.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_upstream.o \
        src/http/ngx_http_upstream.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_upstream_round_robin.o \
        src/http/ngx_http_upstream_round_robin.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_file_cache.o \
        src/http/ngx_http_file_cache.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_write_filter_module.o \
        src/http/ngx_http_write_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_header_filter_module.o \
        src/http/ngx_http_header_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_chunked_filter_module.o \
        src/http/modules/ngx_http_chunked_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2_filter_module.o \
        src/http/v2/ngx_http_v2_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_range_filter_module.o \
        src/http/modules/ngx_http_range_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_gzip_filter_module.o \
        src/http/modules/ngx_http_gzip_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_postpone_filter_module.o \
        src/http/ngx_http_postpone_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_ssi_filter_module.o \
        src/http/modules/ngx_http_ssi_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_charset_filter_module.o \
        src/http/modules/ngx_http_charset_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_sub_filter_module.o \
        src/http/modules/ngx_http_sub_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_addition_filter_module.o \
        src/http/modules/ngx_http_addition_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_gunzip_filter_module.o \
        src/http/modules/ngx_http_gunzip_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_userid_filter_module.o \
        src/http/modules/ngx_http_userid_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_headers_filter_module.o \
        src/http/modules/ngx_http_headers_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/ngx_http_copy_filter_module.o \
        src/http/ngx_http_copy_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_not_modified_filter_module.o \
        src/http/modules/ngx_http_not_modified_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_slice_filter_module.o \
        src/http/modules/ngx_http_slice_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2.o \
        src/http/v2/ngx_http_v2.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2_table.o \
        src/http/v2/ngx_http_v2_table.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2_encode.o \
        src/http/v2/ngx_http_v2_encode.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2_huff_decode.o \
        src/http/v2/ngx_http_v2_huff_decode.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2_huff_encode.o \
        src/http/v2/ngx_http_v2_huff_encode.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/v2/ngx_http_v2_module.o \
        src/http/v2/ngx_http_v2_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_static_module.o \
        src/http/modules/ngx_http_static_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_gzip_static_module.o \
        src/http/modules/ngx_http_gzip_static_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_dav_module.o \
        src/http/modules/ngx_http_dav_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_autoindex_module.o \
        src/http/modules/ngx_http_autoindex_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_index_module.o \
        src/http/modules/ngx_http_index_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_random_index_module.o \
        src/http/modules/ngx_http_random_index_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_mirror_module.o \
        src/http/modules/ngx_http_mirror_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_try_files_module.o \
        src/http/modules/ngx_http_try_files_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_auth_request_module.o \
        src/http/modules/ngx_http_auth_request_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_auth_basic_module.o \
        src/http/modules/ngx_http_auth_basic_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_access_module.o \
        src/http/modules/ngx_http_access_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_limit_conn_module.o \
        src/http/modules/ngx_http_limit_conn_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_limit_req_module.o \
        src/http/modules/ngx_http_limit_req_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_realip_module.o \
        src/http/modules/ngx_http_realip_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_geo_module.o \
        src/http/modules/ngx_http_geo_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_map_module.o \
        src/http/modules/ngx_http_map_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_split_clients_module.o \
        src/http/modules/ngx_http_split_clients_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_referer_module.o \
        src/http/modules/ngx_http_referer_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_rewrite_module.o \
        src/http/modules/ngx_http_rewrite_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_ssl_module.o \
        src/http/modules/ngx_http_ssl_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_proxy_module.o \
        src/http/modules/ngx_http_proxy_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_fastcgi_module.o \
        src/http/modules/ngx_http_fastcgi_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_uwsgi_module.o \
        src/http/modules/ngx_http_uwsgi_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_scgi_module.o \
        src/http/modules/ngx_http_scgi_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_grpc_module.o \
        src/http/modules/ngx_http_grpc_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_memcached_module.o \
        src/http/modules/ngx_http_memcached_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_empty_gif_module.o \
        src/http/modules/ngx_http_empty_gif_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_browser_module.o \
        src/http/modules/ngx_http_browser_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_secure_link_module.o \
        src/http/modules/ngx_http_secure_link_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_flv_module.o \
        src/http/modules/ngx_http_flv_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_mp4_module.o \
        src/http/modules/ngx_http_mp4_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_upstream_hash_module.o \
        src/http/modules/ngx_http_upstream_hash_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
        src/http/modules/ngx_http_upstream_ip_hash_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
        src/http/modules/ngx_http_upstream_least_conn_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_upstream_random_module.o \
        src/http/modules/ngx_http_upstream_random_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
        src/http/modules/ngx_http_upstream_keepalive_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_upstream_zone_module.o \
        src/http/modules/ngx_http_upstream_zone_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/src/http/modules/ngx_http_stub_status_module.o \
        src/http/modules/ngx_http_stub_status_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail.o \
        src/mail/ngx_mail.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_core_module.o \
        src/mail/ngx_mail_core_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_handler.o \
        src/mail/ngx_mail_handler.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_parse.o \
        src/mail/ngx_mail_parse.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_ssl_module.o \
        src/mail/ngx_mail_ssl_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_pop3_module.o \
        src/mail/ngx_mail_pop3_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_pop3_handler.o \
        src/mail/ngx_mail_pop3_handler.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_imap_module.o \
        src/mail/ngx_mail_imap_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_imap_handler.o \
        src/mail/ngx_mail_imap_handler.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_smtp_module.o \
        src/mail/ngx_mail_smtp_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_smtp_handler.o \
        src/mail/ngx_mail_smtp_handler.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_auth_http_module.o \
        src/mail/ngx_mail_auth_http_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_proxy_module.o \
        src/mail/ngx_mail_proxy_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail \
        -o objs/src/mail/ngx_mail_realip_module.o \
        src/mail/ngx_mail_realip_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream.o \
        src/stream/ngx_stream.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_variables.o \
        src/stream/ngx_stream_variables.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_script.o \
        src/stream/ngx_stream_script.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_handler.o \
        src/stream/ngx_stream_handler.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_core_module.o \
        src/stream/ngx_stream_core_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_log_module.o \
        src/stream/ngx_stream_log_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_proxy_module.o \
        src/stream/ngx_stream_proxy_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_upstream.o \
        src/stream/ngx_stream_upstream.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_upstream_round_robin.o \
        src/stream/ngx_stream_upstream_round_robin.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_write_filter_module.o \
        src/stream/ngx_stream_write_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_ssl_module.o \
        src/stream/ngx_stream_ssl_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_realip_module.o \
        src/stream/ngx_stream_realip_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_limit_conn_module.o \
        src/stream/ngx_stream_limit_conn_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_access_module.o \
        src/stream/ngx_stream_access_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_geo_module.o \
        src/stream/ngx_stream_geo_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_map_module.o \
        src/stream/ngx_stream_map_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_split_clients_module.o \
        src/stream/ngx_stream_split_clients_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_return_module.o \
        src/stream/ngx_stream_return_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_set_module.o \
        src/stream/ngx_stream_set_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_upstream_hash_module.o \
        src/stream/ngx_stream_upstream_hash_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_upstream_least_conn_module.o \
        src/stream/ngx_stream_upstream_least_conn_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_upstream_random_module.o \
        src/stream/ngx_stream_upstream_random_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_upstream_zone_module.o \
        src/stream/ngx_stream_upstream_zone_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \
        -o objs/src/stream/ngx_stream_ssl_preread_module.o \
        src/stream/ngx_stream_ssl_preread_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/ngx_modules.o \
        objs/ngx_modules.c
cc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_parse_time.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_sha1.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_rwlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_module.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/core/ngx_proxy_protocol.o \
objs/src/core/ngx_syslog.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_udp.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_udp_send.o \
objs/src/os/unix/ngx_udp_sendmsg_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_dlopen.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_linux_init.o \
objs/src/event/modules/ngx_epoll_module.o \
objs/src/os/unix/ngx_linux_sendfile_chain.o \
objs/src/os/unix/ngx_linux_aio_read.o \
objs/src/core/ngx_thread_pool.o \
objs/src/os/unix/ngx_thread_cond.o \
objs/src/os/unix/ngx_thread_mutex.o \
objs/src/os/unix/ngx_thread_id.o \
objs/src/event/ngx_event_openssl.o \
objs/src/event/ngx_event_openssl_stapling.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/v2/ngx_http_v2_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/ngx_http_postpone_filter_module.o \
objs/src/http/modules/ngx_http_ssi_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_sub_filter_module.o \
objs/src/http/modules/ngx_http_addition_filter_module.o \
objs/src/http/modules/ngx_http_gunzip_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/modules/ngx_http_slice_filter_module.o \
objs/src/http/v2/ngx_http_v2.o \
objs/src/http/v2/ngx_http_v2_table.o \
objs/src/http/v2/ngx_http_v2_encode.o \
objs/src/http/v2/ngx_http_v2_huff_decode.o \
objs/src/http/v2/ngx_http_v2_huff_encode.o \
objs/src/http/v2/ngx_http_v2_module.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_gzip_static_module.o \
objs/src/http/modules/ngx_http_dav_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_random_index_module.o \
objs/src/http/modules/ngx_http_mirror_module.o \
objs/src/http/modules/ngx_http_try_files_module.o \
objs/src/http/modules/ngx_http_auth_request_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_limit_conn_module.o \
objs/src/http/modules/ngx_http_limit_req_module.o \
objs/src/http/modules/ngx_http_realip_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_ssl_module.o \
objs/src/http/modules/ngx_http_proxy_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_uwsgi_module.o \
objs/src/http/modules/ngx_http_scgi_module.o \
objs/src/http/modules/ngx_http_grpc_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_secure_link_module.o \
objs/src/http/modules/ngx_http_flv_module.o \
objs/src/http/modules/ngx_http_mp4_module.o \
objs/src/http/modules/ngx_http_upstream_hash_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_random_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/src/http/modules/ngx_http_upstream_zone_module.o \
objs/src/http/modules/ngx_http_stub_status_module.o \
objs/src/mail/ngx_mail.o \
objs/src/mail/ngx_mail_core_module.o \
objs/src/mail/ngx_mail_handler.o \
objs/src/mail/ngx_mail_parse.o \
objs/src/mail/ngx_mail_ssl_module.o \
objs/src/mail/ngx_mail_pop3_module.o \
objs/src/mail/ngx_mail_pop3_handler.o \
objs/src/mail/ngx_mail_imap_module.o \
objs/src/mail/ngx_mail_imap_handler.o \
objs/src/mail/ngx_mail_smtp_module.o \
objs/src/mail/ngx_mail_smtp_handler.o \
objs/src/mail/ngx_mail_auth_http_module.o \
objs/src/mail/ngx_mail_proxy_module.o \
objs/src/mail/ngx_mail_realip_module.o \
objs/src/stream/ngx_stream.o \
objs/src/stream/ngx_stream_variables.o \
objs/src/stream/ngx_stream_script.o \
objs/src/stream/ngx_stream_handler.o \
objs/src/stream/ngx_stream_core_module.o \
objs/src/stream/ngx_stream_log_module.o \
objs/src/stream/ngx_stream_proxy_module.o \
objs/src/stream/ngx_stream_upstream.o \
objs/src/stream/ngx_stream_upstream_round_robin.o \
objs/src/stream/ngx_stream_write_filter_module.o \
objs/src/stream/ngx_stream_ssl_module.o \
objs/src/stream/ngx_stream_realip_module.o \
objs/src/stream/ngx_stream_limit_conn_module.o \
objs/src/stream/ngx_stream_access_module.o \
objs/src/stream/ngx_stream_geo_module.o \
objs/src/stream/ngx_stream_map_module.o \
objs/src/stream/ngx_stream_split_clients_module.o \
objs/src/stream/ngx_stream_return_module.o \
objs/src/stream/ngx_stream_set_module.o \
objs/src/stream/ngx_stream_upstream_hash_module.o \
objs/src/stream/ngx_stream_upstream_least_conn_module.o \
objs/src/stream/ngx_stream_upstream_random_module.o \
objs/src/stream/ngx_stream_upstream_zone_module.o \
objs/src/stream/ngx_stream_ssl_preread_module.o \
objs/ngx_modules.o \
-Wl,-z,relro -Wl,-z,now -pie -ldl -lpthread -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lpthread -lz \
-Wl,-E
sed -e "s|%%PREFIX%%|/etc/nginx|" \
        -e "s|%%PID_PATH%%|/var/run/nginx.pid|" \
        -e "s|%%CONF_PATH%%|/etc/nginx/nginx.conf|" \
        -e "s|%%ERROR_LOG_PATH%%|/var/log/nginx/error.log|" \
        < man/nginx.8 > objs/nginx.8
make[1]: 离开目录“/usr/local/nginx”
$ 

nginx安装

$ pwd
/usr/local/nginx
$ make install
make -f objs/Makefile install
make[1]: 进入目录“/usr/local/nginx”
cc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_parse_time.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_sha1.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_rwlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_module.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/core/ngx_proxy_protocol.o \
objs/src/core/ngx_syslog.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_udp.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_udp_send.o \
objs/src/os/unix/ngx_udp_sendmsg_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_dlopen.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_linux_init.o \
objs/src/event/modules/ngx_epoll_module.o \
objs/src/os/unix/ngx_linux_sendfile_chain.o \
objs/src/os/unix/ngx_linux_aio_read.o \
objs/src/core/ngx_thread_pool.o \
objs/src/os/unix/ngx_thread_cond.o \
objs/src/os/unix/ngx_thread_mutex.o \
objs/src/os/unix/ngx_thread_id.o \
objs/src/event/ngx_event_openssl.o \
objs/src/event/ngx_event_openssl_stapling.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/v2/ngx_http_v2_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/ngx_http_postpone_filter_module.o \
objs/src/http/modules/ngx_http_ssi_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_sub_filter_module.o \
objs/src/http/modules/ngx_http_addition_filter_module.o \
objs/src/http/modules/ngx_http_gunzip_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/modules/ngx_http_slice_filter_module.o \
objs/src/http/v2/ngx_http_v2.o \
objs/src/http/v2/ngx_http_v2_table.o \
objs/src/http/v2/ngx_http_v2_encode.o \
objs/src/http/v2/ngx_http_v2_huff_decode.o \
objs/src/http/v2/ngx_http_v2_huff_encode.o \
objs/src/http/v2/ngx_http_v2_module.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_gzip_static_module.o \
objs/src/http/modules/ngx_http_dav_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_random_index_module.o \
objs/src/http/modules/ngx_http_mirror_module.o \
objs/src/http/modules/ngx_http_try_files_module.o \
objs/src/http/modules/ngx_http_auth_request_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_limit_conn_module.o \
objs/src/http/modules/ngx_http_limit_req_module.o \
objs/src/http/modules/ngx_http_realip_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_ssl_module.o \
objs/src/http/modules/ngx_http_proxy_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_uwsgi_module.o \
objs/src/http/modules/ngx_http_scgi_module.o \
objs/src/http/modules/ngx_http_grpc_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_secure_link_module.o \
objs/src/http/modules/ngx_http_flv_module.o \
objs/src/http/modules/ngx_http_mp4_module.o \
objs/src/http/modules/ngx_http_upstream_hash_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_random_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/src/http/modules/ngx_http_upstream_zone_module.o \
objs/src/http/modules/ngx_http_stub_status_module.o \
objs/src/mail/ngx_mail.o \
objs/src/mail/ngx_mail_core_module.o \
objs/src/mail/ngx_mail_handler.o \
objs/src/mail/ngx_mail_parse.o \
objs/src/mail/ngx_mail_ssl_module.o \
objs/src/mail/ngx_mail_pop3_module.o \
objs/src/mail/ngx_mail_pop3_handler.o \
objs/src/mail/ngx_mail_imap_module.o \
objs/src/mail/ngx_mail_imap_handler.o \
objs/src/mail/ngx_mail_smtp_module.o \
objs/src/mail/ngx_mail_smtp_handler.o \
objs/src/mail/ngx_mail_auth_http_module.o \
objs/src/mail/ngx_mail_proxy_module.o \
objs/src/mail/ngx_mail_realip_module.o \
objs/src/stream/ngx_stream.o \
objs/src/stream/ngx_stream_variables.o \
objs/src/stream/ngx_stream_script.o \
objs/src/stream/ngx_stream_handler.o \
objs/src/stream/ngx_stream_core_module.o \
objs/src/stream/ngx_stream_log_module.o \
objs/src/stream/ngx_stream_proxy_module.o \
objs/src/stream/ngx_stream_upstream.o \
objs/src/stream/ngx_stream_upstream_round_robin.o \
objs/src/stream/ngx_stream_write_filter_module.o \
objs/src/stream/ngx_stream_ssl_module.o \
objs/src/stream/ngx_stream_realip_module.o \
objs/src/stream/ngx_stream_limit_conn_module.o \
objs/src/stream/ngx_stream_access_module.o \
objs/src/stream/ngx_stream_geo_module.o \
objs/src/stream/ngx_stream_map_module.o \
objs/src/stream/ngx_stream_split_clients_module.o \
objs/src/stream/ngx_stream_return_module.o \
objs/src/stream/ngx_stream_set_module.o \
objs/src/stream/ngx_stream_upstream_hash_module.o \
objs/src/stream/ngx_stream_upstream_least_conn_module.o \
objs/src/stream/ngx_stream_upstream_random_module.o \
objs/src/stream/ngx_stream_upstream_zone_module.o \
objs/src/stream/ngx_stream_ssl_preread_module.o \
objs/ngx_modules.o \
-Wl,-z,relro -Wl,-z,now -pie -ldl -lpthread -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lpthread -lz \
-Wl,-E
test -d '/etc/nginx' || mkdir -p '/etc/nginx'
test -d '/usr/sbin' \
        || mkdir -p '/usr/sbin'
test ! -f '/usr/sbin/nginx' \
        || mv '/usr/sbin/nginx' \
                '/usr/sbin/nginx.old'
cp objs/nginx '/usr/sbin/nginx'
test -d '/etc/nginx' \
        || mkdir -p '/etc/nginx'
cp conf/koi-win '/etc/nginx'
cp conf/koi-utf '/etc/nginx'
cp conf/win-utf '/etc/nginx'
test -f '/etc/nginx/mime.types' \
        || cp conf/mime.types '/etc/nginx'
cp conf/mime.types '/etc/nginx/mime.types.default'
test -f '/etc/nginx/fastcgi_params' \
        || cp conf/fastcgi_params '/etc/nginx'
cp conf/fastcgi_params \
        '/etc/nginx/fastcgi_params.default'
test -f '/etc/nginx/fastcgi.conf' \
        || cp conf/fastcgi.conf '/etc/nginx'
cp conf/fastcgi.conf '/etc/nginx/fastcgi.conf.default'
test -f '/etc/nginx/uwsgi_params' \
        || cp conf/uwsgi_params '/etc/nginx'
cp conf/uwsgi_params \
        '/etc/nginx/uwsgi_params.default'
test -f '/etc/nginx/scgi_params' \
        || cp conf/scgi_params '/etc/nginx'
cp conf/scgi_params \
        '/etc/nginx/scgi_params.default'
test -f '/etc/nginx/nginx.conf' \
        || cp conf/nginx.conf '/etc/nginx/nginx.conf'
cp conf/nginx.conf '/etc/nginx/nginx.conf.default'
test -d '/var/run' \
        || mkdir -p '/var/run'
test -d '/var/log/nginx' \
        || mkdir -p '/var/log/nginx'
test -d '/etc/nginx/html' \
$

nginx安装相关文件路径

  • 安装文件:/usr/local/nginx
  • 启动执行文件:/usr/sbin/nginx
  • 安装目录:/etc/nginx/
  • 错误日志:/var/log/nginx/error.log
  • 转发日志:/var/log/nginx/access.log
  • 配置文件:/etc/nginx/nginx.conf

创建启动命令

复制下面所有命令,然后执行

cat >> /usr/lib/systemd/system/nginx.service<<-'EOF'
[Unit]
Description=nginx - high performance web server
Documentation=http://nginx.org/en/docs/
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/var/run/nginx.pid
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
ExecReload=/bin/sh -c "/bin/kill -s HUP $(/bin/cat /var/run/nginx.pid)"
ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /var/run/nginx.pid)"

[Install]
WantedBy=multi-user.target
EOF

执行上面命令后,可通过以下命令启动及重载nginx

  • 启动:systemctl start nginx
  • 重载:systemctl daemon-reload
  • 关闭:systemctl stop nginx

启动nginx服务

$ systemctl start nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  • 启动报错解决1:

./configure去掉参数 --user=nginx --group=nginx,重新编译、安装。创建/var/cache/nginx/client_temp目录。

$ ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie'
$ make & make install
$ systemctl start nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
$ mkdir -p /var/cache/nginx/client_temp
$ systemctl start nginx                
$ ps aux|grep nginx
root     21046  0.0  0.0 108052   632 pts/0    S+   13:58   0:00 tailf /var/log/nginx/error.log
root     24096  0.0  0.0  46456   960 ?        Ss   13:59   0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nobody   24097  0.0  0.0  49008  1960 ?        S    13:59   0:00 nginx: worker process
root     24557  0.0  0.0 112824   980 pts/1    S+   13:59   0:00 grep --color=auto nginx

根据以上启动信息,可以看出,nginx服务是以 [nobody] 启动

  • 启动报错解决2:

出于安全性考虑,还是用独立权限的账户运行(root权限太大,web渗透的时候可利用的机会太多了),所以添加 nginx用户

# 添加用户 nginx
$ useradd -s /sbin/nologin -M nginx
$ cat /etc/passwd
...
user:x:1000:1000:user :/home/user:/bin/bash
nginx:x:1001:1001::/home/nginx:/sbin/nologin
# 启动
$ systemctl start nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
# 查看日志
$ tailf /var/log/nginx/error.log 
2021/08/09 13:40:50 [emerg] 12181#12181: mkdir() "/var/cache/nginx/client_temp" failed (2: No such file or directory)

# 改成了单独的nginx用户权限,有些目录就没权限了,手动创建下就行了
$ mkdir -p /var/cache/nginx/client_temp

# 启动
$ systemctl start nginx
$ ps aux|grep nginx
root     15655  0.0  0.0 108052   668 pts/3    S+   13:41   0:00 tailf /var/log/nginx/error.log
root     16861  0.0  0.0 108052   664 pts/0    S+   13:35   0:00 tailf /var/log/nginx/error.log
root     27462  0.0  0.0  46512   980 ?        Ss   13:43   0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx    27463  0.0  0.0  48984  1980 ?        S    13:43   0:00 nginx: worker process
root     28342  0.0  0.0 112824   984 pts/2    S+   13:43   0:00 grep --color=auto nginx
$ id nginx
uid=1001(nginx) gid=1001(nginx) 组=1001(nginx)

根据以上启动信息,可以看出,nginx服务是以 [nginx用户] 启动

查看nginx.conf

$ cat /etc/nginx/nginx.conf
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
worker_connections  1024;
}

http {
include       mime.types;
default_type  application/octet-stream;
#log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
#                  '$status $body_bytes_sent "$http_referer" '
#                  '"$http_user_agent" "$http_x_forwarded_for"';

#access_log  logs/access.log  main;

sendfile        on;
#tcp_nopush     on;

#keepalive_timeout  0;
keepalive_timeout  65;

#gzip  on;

server {
listen       80;
server_name  localhost;

#charset koi8-r;

#access_log  logs/host.access.log  main;

location / {
root   html;
index  index.html index.htm;
}

#error_page  404              /404.html;

# redirect server error pages to the static page /50x.html
#
error_page   500 502 503 504  /50x.html;
location = /50x.html {
root   html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
#    proxy_pass   http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
#    root           html;
#    fastcgi_pass   127.0.0.1:9000;
#    fastcgi_index  index.php;
#    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
#    include        fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
#    deny  all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
#    listen       8000;
#    listen       somename:8080;
#    server_name  somename  alias  another.alias;

#    location / {
#        root   html;
#        index  index.html index.htm;
#    }
#}
# HTTPS server
#
#server {
#    listen       443 ssl;
#    server_name  localhost;

#    ssl_certificate      cert.pem;
#    ssl_certificate_key  cert.key;

#    ssl_session_cache    shared:SSL:1m;
#    ssl_session_timeout  5m;

#    ssl_ciphers  HIGH:!aNULL:!MD5;
#    ssl_prefer_server_ciphers  on;

#    location / {
#        root   html;
#        index  index.html index.htm;
#    }
#}
}

编辑ngnix.conf

$ vim /etc/nginx/nginx.conf

nginx.conf测试

$ /usr/sbin/nginx -t

重载nginx服务

修改配置文件后,可以用以下命令重新加载配置文件

$ systemctl daemon-reload

访问nginx服务

http://xxx.xxx.xxx.xxx/

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

eijiyey

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值