然后原来的一元机就换系统了……

0x00.修改主机名

1
[root@txy ~]# hostnamectl set-hostname txy.yuangezhizao.cn
2
[root@txy ~]# hostname
3
txy.yuangezhizao.cn
4
[root@txy ~]# cat /etc/hosts
5
127.0.0.1 txy.yuangezhizao.cn txy.yuangezhizao.cn
6
127.0.0.1 localhost.localdomain localhost
7
127.0.0.1 localhost4.localdomain4 localhost4
8
9
::1 txy.yuangezhizao.cn txy.yuangezhizao.cn
10
::1 localhost.localdomain localhost
11
::1 localhost6.localdomain6 localhost6
12
[root@txy ~]# reboot

0x01.更新

1
yum update -y

0x02.软件

1
yum install htop git axel -y
  1. nfs-utils:暂时10G免费

    腾讯云文件系统
    腾讯云文件系统
  2. COSFShttps://github.com/tencentyun/cosfs

    直接在本地是相当爽了,可惜 Win 享受不到
    直接在本地是相当爽了,可惜 Win 享受不到

0x03.挂载第三方存储

  1. 腾讯云文件存储即CFS
  2. 腾讯云对象存储即COS
    白嫖的一年资源包
    白嫖的一年资源包
    最终效果可以说是相当爽了
    最终效果可以说是相当爽了

0x04.编译安装python380环境

  1. 查看现有位置

    1
    [root@txy ~]# whereis python
    2
    python: /usr/bin/python /usr/bin/python2.7 /usr/lib/python2.7 /usr/lib64/python2.7 /etc/python /usr/include/python2.7 /usr/share/man/man1/python.1.gz
  2. 安装编译工具

    1
    yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel

    这里面有一个包很关键libffi-devel,因为只有3.7才会用到这个包,如果不安装这个包的话,在make阶段会出现如下的报错:# ModuleNotFoundError: No module named '_ctypes'

  3. 下载源码包

    1
    wget --no-check-certificate https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz
    下载卡爆,jsproxy 启动!
    下载卡爆,jsproxy 启动!
  4. 解压

    1
    tar xvJf Python-3.8.0.tar.xz
    2
    cd Python-3.8.0
  5. 编译

    1
    sudo ./configure --prefix=/usr/local/python3
    2
    sudo make && make install
  6. 创建软链接(python3&pip3
    此法不会破坏自带py环境,因此无需修改任何yum文件
    注:更改yum配置

    1
    vim /usr/bin/yum 
    2
    vim /usr/libexec/urlgrabber-ext-down 
    3
    vim /bin/yum-config-manager

    #! /usr/bin/python修改为#! /usr/bin/python2

    1
    ……
    2
    Installing collected packages: setuptools, pip
    3
    Successfully installed pip-19.2.3 setuptools-41.2.0
    4
    [root@txy Python-3.8.0]# sudo ln -s /usr/local/python3/bin/python3 /usr/bin/python3
    5
    [root@txy Python-3.8.0]# sudo ln -s /usr/local/python3/bin/pip3.8 /usr/bin/pip3
    6
    [root@txy Python-3.8.0]# python -V
    7
    Python 2.7.5
    8
    [root@txy Python-3.8.0]# python2 -V
    9
    Python 2.7.5
    10
    [root@txy Python-3.8.0]# python3 -V
    11
    Python 3.8.0
    12
    [root@txy Python-3.8.0]# pip -V
    13
    -bash: pip: command not found
    14
    [root@txy Python-3.8.0]# pip2 -V
    15
    -bash: pip2: command not found
    16
    [root@txy Python-3.8.0]# pip3 -V
    17
    pip 19.2.3 from /usr/local/python3/lib/python3.8/site-packages/pip (python 3.8)
    18
    [root@txy ~]# python3
    19
    Python 3.8.0 (default, Nov  8 2019, 19:13:51) 
    20
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
    21
    Type "help", "copyright", "credits" or "license" for more information.
    22
    >>> exit()

    这样就可以通过python/python2命令使用Pythonpython3来使用Python 3

  7. 升级pip3
    你云环境下会自动配置镜像源

    1
    [root@txy ~]# pip3 install --upgrade pip
    2
    Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
    3
    Collecting pip
    4
      Downloading http://mirrors.tencentyun.com/pypi/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
    5
         |████████████████████████████████| 1.4MB 670kB/s 
    6
    Installing collected packages: pip
    7
      Found existing installation: pip 19.2.3
    8
        Uninstalling pip-19.2.3:
    9
          Successfully uninstalled pip-19.2.3
    10
    Successfully installed pip-19.3.1

    安装pip3的另一种方法

    1
    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    2
    python3 get-pip.py
  8. 加入环境变量

    1
    [root@txy ~]# cat ~/.bash_profile
    2
    # .bash_profile
    3
    4
    # Get the aliases and functions
    5
    if [ -f ~/.bashrc ]; then
    6
    	. ~/.bashrc
    7
    fi
    8
    9
    # User specific environment and startup programs
    10
    11
    PATH=$PATH:$HOME/bin:/usr/local/python3/bin
    12
    13
    export PATH

0x05.安装Docker

  1. 卸载旧版本
    1
    sudo yum remove docker \
    2
                      docker-client \
    3
                      docker-client-latest \
    4
                      docker-common \
    5
                      docker-latest \
    6
                      docker-latest-logrotate \
    7
                      docker-logrotate \
    8
                      docker-engine
  2. 使用源安装
    sudo yum install -y yum-utils device-mapper-persistent-data lvm2
    sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
  3. 安装
    sudo yum install docker-ce docker-ce-cli containerd.io
  4. 启动
    sudo systemctl start docker
  5. 测试
    sudo docker run hello-world
    输出如下:
    1
    [root@txy ~]# docker run hello-world
    2
    Unable to find image 'hello-world:latest' locally
    3
    latest: Pulling from library/hello-world
    4
    1b930d010525: Pull complete 
    5
    Digest: sha256:6f744a2005b12a704d2608d8070a494ad1145636eeb74a570c56b94d94ccdbfc
    6
    Status: Downloaded newer image for hello-world:latest
    7
    8
    Hello from Docker!
    9
    This message shows that your installation appears to be working correctly.
    10
    11
    To generate this message, Docker took the following steps:
    12
     1. The Docker client contacted the Docker daemon.
    13
     2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    14
        (amd64)
    15
     3. The Docker daemon created a new container from that image which runs the
    16
        executable that produces the output you are currently reading.
    17
     4. The Docker daemon streamed that output to the Docker client, which sent it
    18
        to your terminal.
    19
    20
    To try something more ambitious, you can run an Ubuntu container with:
    21
     $ docker run -it ubuntu bash
    22
    23
    Share images, automate workflows, and more with a free Docker ID:
    24
     https://hub.docker.com/
    25
    26
    For more examples and ideas, visit:
    27
     https://docs.docker.com/get-started/
  6. 加速器
    curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://e6d6fb48.m.daocloud.io
  7. 自启
    sudo systemctl enable docker

0x06. 测速工具speedtest-cli

pip3 install speedtest-cli

1
[root@txy ~]# speedtest-cli
2
Retrieving speedtest.net configuration...
3
Testing from Tencent cloud computing (<rm>)...
4
Retrieving speedtest.net server list...
5
Selecting best server based on ping...
6
Hosted by Beijing Unicom (Beijing) [1.69 km]: 28.199 ms
7
Testing download speed................................................................................
8
Download: 86.21 Mbit/s
9
Testing upload speed......................................................................................................
10
Upload: 1.27 Mbit/s

0x07.安装PHPStudy Linux 面板

官网
官网
V0.2 公测版
V0.2 公测版

一键安装
yum install -y wget && wget -O install.sh https://download.xp.cn/install.sh && sh install.sh

还不错的面板
还不错的面板
吊炸天的监控
吊炸天的监控

0x08.编译安装Nginx

准备
mkdir nginx_build && cd nginx_build
下载1.17.3版本Nginx源码
wget http://nginx.org/download/nginx-1.17.3.tar.gz
tar -xvf nginx-1.17.3.tar.gz
下载0.1.18版本nginx-module-vts源码
wget https://github.com/vozlt/nginx-module-vts/archive/v0.1.18.tar.gz
tar -xvf v0.1.18.tar.gz
安装依赖
yum -y install gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
编译安装
cd nginx-1.17.3/

1
[root@txy nginx-1.17.3]# ./configure --add-module=/root/nginx_build/nginx-module-vts-0.1.18
2
checking for OS
3
 + Linux 3.10.0-957.21.3.el7.x86_64 x86_64
4
checking for C compiler ... found
5
 + using GNU C compiler
6
 + gcc version: 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) 
7
checking for gcc -pipe switch ... found
8
checking for -Wl,-E switch ... found
9
checking for gcc builtin atomic operations ... found
10
checking for C99 variadic macros ... found
11
checking for gcc variadic macros ... found
12
checking for gcc builtin 64 bit byteswap ... found
13
checking for unistd.h ... found
14
checking for inttypes.h ... found
15
checking for limits.h ... found
16
checking for sys/filio.h ... not found
17
checking for sys/param.h ... found
18
checking for sys/mount.h ... found
19
checking for sys/statvfs.h ... found
20
checking for crypt.h ... found
21
checking for Linux specific features
22
checking for epoll ... found
23
checking for EPOLLRDHUP ... found
24
checking for EPOLLEXCLUSIVE ... not found
25
checking for O_PATH ... found
26
checking for sendfile() ... found
27
checking for sendfile64() ... found
28
checking for sys/prctl.h ... found
29
checking for prctl(PR_SET_DUMPABLE) ... found
30
checking for prctl(PR_SET_KEEPCAPS) ... found
31
checking for capabilities ... found
32
checking for crypt_r() ... found
33
checking for sys/vfs.h ... found
34
checking for nobody group ... found
35
checking for poll() ... found
36
checking for /dev/poll ... not found
37
checking for kqueue ... not found
38
checking for crypt() ... not found
39
checking for crypt() in libcrypt ... found
40
checking for F_READAHEAD ... not found
41
checking for posix_fadvise() ... found
42
checking for O_DIRECT ... found
43
checking for F_NOCACHE ... not found
44
checking for directio() ... not found
45
checking for statfs() ... found
46
checking for statvfs() ... found
47
checking for dlopen() ... not found
48
checking for dlopen() in libdl ... found
49
checking for sched_yield() ... found
50
checking for sched_setaffinity() ... found
51
checking for SO_SETFIB ... not found
52
checking for SO_REUSEPORT ... found
53
checking for SO_ACCEPTFILTER ... not found
54
checking for SO_BINDANY ... not found
55
checking for IP_TRANSPARENT ... found
56
checking for IP_BINDANY ... not found
57
checking for IP_BIND_ADDRESS_NO_PORT ... not found
58
checking for IP_RECVDSTADDR ... not found
59
checking for IP_SENDSRCADDR ... not found
60
checking for IP_PKTINFO ... found
61
checking for IPV6_RECVPKTINFO ... found
62
checking for TCP_DEFER_ACCEPT ... found
63
checking for TCP_KEEPIDLE ... found
64
checking for TCP_FASTOPEN ... found
65
checking for TCP_INFO ... found
66
checking for accept4() ... found
67
checking for eventfd() ... found
68
checking for int size ... 4 bytes
69
checking for long size ... 8 bytes
70
checking for long long size ... 8 bytes
71
checking for void * size ... 8 bytes
72
checking for uint32_t ... found
73
checking for uint64_t ... found
74
checking for sig_atomic_t ... found
75
checking for sig_atomic_t size ... 4 bytes
76
checking for socklen_t ... found
77
checking for in_addr_t ... found
78
checking for in_port_t ... found
79
checking for rlim_t ... found
80
checking for uintptr_t ... uintptr_t found
81
checking for system byte ordering ... little endian
82
checking for size_t size ... 8 bytes
83
checking for off_t size ... 8 bytes
84
checking for time_t size ... 8 bytes
85
checking for AF_INET6 ... found
86
checking for setproctitle() ... not found
87
checking for pread() ... found
88
checking for pwrite() ... found
89
checking for pwritev() ... found
90
checking for sys_nerr ... found
91
checking for localtime_r() ... found
92
checking for clock_gettime(CLOCK_MONOTONIC) ... found
93
checking for posix_memalign() ... found
94
checking for memalign() ... found
95
checking for mmap(MAP_ANON|MAP_SHARED) ... found
96
checking for mmap("/dev/zero", MAP_SHARED) ... found
97
checking for System V shared memory ... found
98
checking for POSIX semaphores ... not found
99
checking for POSIX semaphores in libpthread ... found
100
checking for struct msghdr.msg_control ... found
101
checking for ioctl(FIONBIO) ... found
102
checking for struct tm.tm_gmtoff ... found
103
checking for struct dirent.d_namlen ... not found
104
checking for struct dirent.d_type ... found
105
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
106
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found
107
checking for openat(), fstatat() ... found
108
checking for getaddrinfo() ... found
109
configuring additional modules
110
adding module in /root/nginx_build/nginx-module-vts-0.1.18
111
 + ngx_http_vhost_traffic_status_module was configured
112
checking for PCRE library ... found
113
checking for PCRE JIT support ... found
114
checking for zlib library ... found
115
creating objs/Makefile
116
117
Configuration summary
118
  + using system PCRE library
119
  + OpenSSL library is not used
120
  + using system zlib library
121
122
  nginx path prefix: "/usr/local/nginx"
123
  nginx binary file: "/usr/local/nginx/sbin/nginx"
124
  nginx modules path: "/usr/local/nginx/modules"
125
  nginx configuration prefix: "/usr/local/nginx/conf"
126
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
127
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
128
  nginx error log file: "/usr/local/nginx/logs/error.log"
129
  nginx http access log file: "/usr/local/nginx/logs/access.log"
130
  nginx http client request body temporary files: "client_body_temp"
131
  nginx http proxy temporary files: "proxy_temp"
132
  nginx http fastcgi temporary files: "fastcgi_temp"
133
  nginx http uwsgi temporary files: "uwsgi_temp"
134
  nginx http scgi temporary files: "scgi_temp"
1
[root@txy nginx-1.17.3]# make && make install
2
make -f objs/Makefile
3
make[1]: Entering directory `/root/nginx_build/nginx-1.17.3'
4
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
5
	-o objs/src/core/nginx.o \
6
	src/core/nginx.c
7
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
8
	-o objs/src/core/ngx_log.o \
9
	src/core/ngx_log.c
10
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
11
	-o objs/src/core/ngx_palloc.o \
12
	src/core/ngx_palloc.c
13
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
14
	-o objs/src/core/ngx_array.o \
15
	src/core/ngx_array.c
16
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
17
	-o objs/src/core/ngx_list.o \
18
	src/core/ngx_list.c
19
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
20
	-o objs/src/core/ngx_hash.o \
21
	src/core/ngx_hash.c
22
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
23
	-o objs/src/core/ngx_buf.o \
24
	src/core/ngx_buf.c
25
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
26
	-o objs/src/core/ngx_queue.o \
27
	src/core/ngx_queue.c
28
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
29
	-o objs/src/core/ngx_output_chain.o \
30
	src/core/ngx_output_chain.c
31
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
32
	-o objs/src/core/ngx_string.o \
33
	src/core/ngx_string.c
34
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
35
	-o objs/src/core/ngx_parse.o \
36
	src/core/ngx_parse.c
37
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
38
	-o objs/src/core/ngx_parse_time.o \
39
	src/core/ngx_parse_time.c
40
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
41
	-o objs/src/core/ngx_inet.o \
42
	src/core/ngx_inet.c
43
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
44
	-o objs/src/core/ngx_file.o \
45
	src/core/ngx_file.c
46
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
47
	-o objs/src/core/ngx_crc32.o \
48
	src/core/ngx_crc32.c
49
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
50
	-o objs/src/core/ngx_murmurhash.o \
51
	src/core/ngx_murmurhash.c
52
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
53
	-o objs/src/core/ngx_md5.o \
54
	src/core/ngx_md5.c
55
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
56
	-o objs/src/core/ngx_sha1.o \
57
	src/core/ngx_sha1.c
58
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
59
	-o objs/src/core/ngx_rbtree.o \
60
	src/core/ngx_rbtree.c
61
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
62
	-o objs/src/core/ngx_radix_tree.o \
63
	src/core/ngx_radix_tree.c
64
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
65
	-o objs/src/core/ngx_slab.o \
66
	src/core/ngx_slab.c
67
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
68
	-o objs/src/core/ngx_times.o \
69
	src/core/ngx_times.c
70
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
71
	-o objs/src/core/ngx_shmtx.o \
72
	src/core/ngx_shmtx.c
73
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
74
	-o objs/src/core/ngx_connection.o \
75
	src/core/ngx_connection.c
76
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
77
	-o objs/src/core/ngx_cycle.o \
78
	src/core/ngx_cycle.c
79
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
80
	-o objs/src/core/ngx_spinlock.o \
81
	src/core/ngx_spinlock.c
82
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
83
	-o objs/src/core/ngx_rwlock.o \
84
	src/core/ngx_rwlock.c
85
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
86
	-o objs/src/core/ngx_cpuinfo.o \
87
	src/core/ngx_cpuinfo.c
88
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
89
	-o objs/src/core/ngx_conf_file.o \
90
	src/core/ngx_conf_file.c
91
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
92
	-o objs/src/core/ngx_module.o \
93
	src/core/ngx_module.c
94
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
95
	-o objs/src/core/ngx_resolver.o \
96
	src/core/ngx_resolver.c
97
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
98
	-o objs/src/core/ngx_open_file_cache.o \
99
	src/core/ngx_open_file_cache.c
100
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
101
	-o objs/src/core/ngx_crypt.o \
102
	src/core/ngx_crypt.c
103
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
104
	-o objs/src/core/ngx_proxy_protocol.o \
105
	src/core/ngx_proxy_protocol.c
106
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
107
	-o objs/src/core/ngx_syslog.o \
108
	src/core/ngx_syslog.c
109
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
110
	-o objs/src/event/ngx_event.o \
111
	src/event/ngx_event.c
112
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
113
	-o objs/src/event/ngx_event_timer.o \
114
	src/event/ngx_event_timer.c
115
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
116
	-o objs/src/event/ngx_event_posted.o \
117
	src/event/ngx_event_posted.c
118
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
119
	-o objs/src/event/ngx_event_accept.o \
120
	src/event/ngx_event_accept.c
121
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
122
	-o objs/src/event/ngx_event_udp.o \
123
	src/event/ngx_event_udp.c
124
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
125
	-o objs/src/event/ngx_event_connect.o \
126
	src/event/ngx_event_connect.c
127
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
128
	-o objs/src/event/ngx_event_pipe.o \
129
	src/event/ngx_event_pipe.c
130
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
131
	-o objs/src/os/unix/ngx_time.o \
132
	src/os/unix/ngx_time.c
133
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
134
	-o objs/src/os/unix/ngx_errno.o \
135
	src/os/unix/ngx_errno.c
136
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
137
	-o objs/src/os/unix/ngx_alloc.o \
138
	src/os/unix/ngx_alloc.c
139
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
140
	-o objs/src/os/unix/ngx_files.o \
141
	src/os/unix/ngx_files.c
142
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
143
	-o objs/src/os/unix/ngx_socket.o \
144
	src/os/unix/ngx_socket.c
145
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
146
	-o objs/src/os/unix/ngx_recv.o \
147
	src/os/unix/ngx_recv.c
148
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
149
	-o objs/src/os/unix/ngx_readv_chain.o \
150
	src/os/unix/ngx_readv_chain.c
151
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
152
	-o objs/src/os/unix/ngx_udp_recv.o \
153
	src/os/unix/ngx_udp_recv.c
154
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
155
	-o objs/src/os/unix/ngx_send.o \
156
	src/os/unix/ngx_send.c
157
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
158
	-o objs/src/os/unix/ngx_writev_chain.o \
159
	src/os/unix/ngx_writev_chain.c
160
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
161
	-o objs/src/os/unix/ngx_udp_send.o \
162
	src/os/unix/ngx_udp_send.c
163
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
164
	-o objs/src/os/unix/ngx_udp_sendmsg_chain.o \
165
	src/os/unix/ngx_udp_sendmsg_chain.c
166
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
167
	-o objs/src/os/unix/ngx_channel.o \
168
	src/os/unix/ngx_channel.c
169
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
170
	-o objs/src/os/unix/ngx_shmem.o \
171
	src/os/unix/ngx_shmem.c
172
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
173
	-o objs/src/os/unix/ngx_process.o \
174
	src/os/unix/ngx_process.c
175
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
176
	-o objs/src/os/unix/ngx_daemon.o \
177
	src/os/unix/ngx_daemon.c
178
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
179
	-o objs/src/os/unix/ngx_setaffinity.o \
180
	src/os/unix/ngx_setaffinity.c
181
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
182
	-o objs/src/os/unix/ngx_setproctitle.o \
183
	src/os/unix/ngx_setproctitle.c
184
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
185
	-o objs/src/os/unix/ngx_posix_init.o \
186
	src/os/unix/ngx_posix_init.c
187
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
188
	-o objs/src/os/unix/ngx_user.o \
189
	src/os/unix/ngx_user.c
190
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
191
	-o objs/src/os/unix/ngx_dlopen.o \
192
	src/os/unix/ngx_dlopen.c
193
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
194
	-o objs/src/os/unix/ngx_process_cycle.o \
195
	src/os/unix/ngx_process_cycle.c
196
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
197
	-o objs/src/os/unix/ngx_linux_init.o \
198
	src/os/unix/ngx_linux_init.c
199
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
200
	-o objs/src/event/modules/ngx_epoll_module.o \
201
	src/event/modules/ngx_epoll_module.c
202
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
203
	-o objs/src/os/unix/ngx_linux_sendfile_chain.o \
204
	src/os/unix/ngx_linux_sendfile_chain.c
205
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
206
	-o objs/src/core/ngx_regex.o \
207
	src/core/ngx_regex.c
208
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
209
	-o objs/src/http/ngx_http.o \
210
	src/http/ngx_http.c
211
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
212
	-o objs/src/http/ngx_http_core_module.o \
213
	src/http/ngx_http_core_module.c
214
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
215
	-o objs/src/http/ngx_http_special_response.o \
216
	src/http/ngx_http_special_response.c
217
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
218
	-o objs/src/http/ngx_http_request.o \
219
	src/http/ngx_http_request.c
220
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
221
	-o objs/src/http/ngx_http_parse.o \
222
	src/http/ngx_http_parse.c
223
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
224
	-o objs/src/http/modules/ngx_http_log_module.o \
225
	src/http/modules/ngx_http_log_module.c
226
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
227
	-o objs/src/http/ngx_http_request_body.o \
228
	src/http/ngx_http_request_body.c
229
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
230
	-o objs/src/http/ngx_http_variables.o \
231
	src/http/ngx_http_variables.c
232
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
233
	-o objs/src/http/ngx_http_script.o \
234
	src/http/ngx_http_script.c
235
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
236
	-o objs/src/http/ngx_http_upstream.o \
237
	src/http/ngx_http_upstream.c
238
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
239
	-o objs/src/http/ngx_http_upstream_round_robin.o \
240
	src/http/ngx_http_upstream_round_robin.c
241
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
242
	-o objs/src/http/ngx_http_file_cache.o \
243
	src/http/ngx_http_file_cache.c
244
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
245
	-o objs/src/http/ngx_http_write_filter_module.o \
246
	src/http/ngx_http_write_filter_module.c
247
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
248
	-o objs/src/http/ngx_http_header_filter_module.o \
249
	src/http/ngx_http_header_filter_module.c
250
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
251
	-o objs/src/http/modules/ngx_http_chunked_filter_module.o \
252
	src/http/modules/ngx_http_chunked_filter_module.c
253
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
254
	-o objs/src/http/modules/ngx_http_range_filter_module.o \
255
	src/http/modules/ngx_http_range_filter_module.c
256
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
257
	-o objs/src/http/modules/ngx_http_gzip_filter_module.o \
258
	src/http/modules/ngx_http_gzip_filter_module.c
259
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
260
	-o objs/src/http/ngx_http_postpone_filter_module.o \
261
	src/http/ngx_http_postpone_filter_module.c
262
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
263
	-o objs/src/http/modules/ngx_http_ssi_filter_module.o \
264
	src/http/modules/ngx_http_ssi_filter_module.c
265
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
266
	-o objs/src/http/modules/ngx_http_charset_filter_module.o \
267
	src/http/modules/ngx_http_charset_filter_module.c
268
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
269
	-o objs/src/http/modules/ngx_http_userid_filter_module.o \
270
	src/http/modules/ngx_http_userid_filter_module.c
271
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
272
	-o objs/src/http/modules/ngx_http_headers_filter_module.o \
273
	src/http/modules/ngx_http_headers_filter_module.c
274
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
275
	-o objs/src/http/ngx_http_copy_filter_module.o \
276
	src/http/ngx_http_copy_filter_module.c
277
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
278
	-o objs/src/http/modules/ngx_http_not_modified_filter_module.o \
279
	src/http/modules/ngx_http_not_modified_filter_module.c
280
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
281
	-o objs/src/http/modules/ngx_http_static_module.o \
282
	src/http/modules/ngx_http_static_module.c
283
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
284
	-o objs/src/http/modules/ngx_http_autoindex_module.o \
285
	src/http/modules/ngx_http_autoindex_module.c
286
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
287
	-o objs/src/http/modules/ngx_http_index_module.o \
288
	src/http/modules/ngx_http_index_module.c
289
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
290
	-o objs/src/http/modules/ngx_http_mirror_module.o \
291
	src/http/modules/ngx_http_mirror_module.c
292
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
293
	-o objs/src/http/modules/ngx_http_try_files_module.o \
294
	src/http/modules/ngx_http_try_files_module.c
295
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
296
	-o objs/src/http/modules/ngx_http_auth_basic_module.o \
297
	src/http/modules/ngx_http_auth_basic_module.c
298
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
299
	-o objs/src/http/modules/ngx_http_access_module.o \
300
	src/http/modules/ngx_http_access_module.c
301
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
302
	-o objs/src/http/modules/ngx_http_limit_conn_module.o \
303
	src/http/modules/ngx_http_limit_conn_module.c
304
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
305
	-o objs/src/http/modules/ngx_http_limit_req_module.o \
306
	src/http/modules/ngx_http_limit_req_module.c
307
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
308
	-o objs/src/http/modules/ngx_http_geo_module.o \
309
	src/http/modules/ngx_http_geo_module.c
310
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
311
	-o objs/src/http/modules/ngx_http_map_module.o \
312
	src/http/modules/ngx_http_map_module.c
313
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
314
	-o objs/src/http/modules/ngx_http_split_clients_module.o \
315
	src/http/modules/ngx_http_split_clients_module.c
316
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
317
	-o objs/src/http/modules/ngx_http_referer_module.o \
318
	src/http/modules/ngx_http_referer_module.c
319
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
320
	-o objs/src/http/modules/ngx_http_rewrite_module.o \
321
	src/http/modules/ngx_http_rewrite_module.c
322
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
323
	-o objs/src/http/modules/ngx_http_proxy_module.o \
324
	src/http/modules/ngx_http_proxy_module.c
325
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
326
	-o objs/src/http/modules/ngx_http_fastcgi_module.o \
327
	src/http/modules/ngx_http_fastcgi_module.c
328
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
329
	-o objs/src/http/modules/ngx_http_uwsgi_module.o \
330
	src/http/modules/ngx_http_uwsgi_module.c
331
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
332
	-o objs/src/http/modules/ngx_http_scgi_module.o \
333
	src/http/modules/ngx_http_scgi_module.c
334
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
335
	-o objs/src/http/modules/ngx_http_memcached_module.o \
336
	src/http/modules/ngx_http_memcached_module.c
337
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
338
	-o objs/src/http/modules/ngx_http_empty_gif_module.o \
339
	src/http/modules/ngx_http_empty_gif_module.c
340
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
341
	-o objs/src/http/modules/ngx_http_browser_module.o \
342
	src/http/modules/ngx_http_browser_module.c
343
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
344
	-o objs/src/http/modules/ngx_http_upstream_hash_module.o \
345
	src/http/modules/ngx_http_upstream_hash_module.c
346
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
347
	-o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
348
	src/http/modules/ngx_http_upstream_ip_hash_module.c
349
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
350
	-o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
351
	src/http/modules/ngx_http_upstream_least_conn_module.c
352
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
353
	-o objs/src/http/modules/ngx_http_upstream_random_module.o \
354
	src/http/modules/ngx_http_upstream_random_module.c
355
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
356
	-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
357
	src/http/modules/ngx_http_upstream_keepalive_module.c
358
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
359
	-o objs/src/http/modules/ngx_http_upstream_zone_module.o \
360
	src/http/modules/ngx_http_upstream_zone_module.c
361
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
362
	-o objs/addon/src/ngx_http_vhost_traffic_status_module.o \
363
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_module.c
364
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
365
	-o objs/addon/src/ngx_http_vhost_traffic_status_variables.o \
366
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_variables.c
367
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
368
	-o objs/addon/src/ngx_http_vhost_traffic_status_string.o \
369
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_string.c
370
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
371
	-o objs/addon/src/ngx_http_vhost_traffic_status_shm.o \
372
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_shm.c
373
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
374
	-o objs/addon/src/ngx_http_vhost_traffic_status_node.o \
375
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_node.c
376
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
377
	-o objs/addon/src/ngx_http_vhost_traffic_status_filter.o \
378
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_filter.c
379
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
380
	-o objs/addon/src/ngx_http_vhost_traffic_status_control.o \
381
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_control.c
382
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
383
	-o objs/addon/src/ngx_http_vhost_traffic_status_limit.o \
384
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_limit.c
385
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
386
	-o objs/addon/src/ngx_http_vhost_traffic_status_display.o \
387
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_display.c
388
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
389
	-o objs/addon/src/ngx_http_vhost_traffic_status_display_json.o \
390
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_display_json.c
391
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
392
	-o objs/addon/src/ngx_http_vhost_traffic_status_display_prometheus.o \
393
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_display_prometheus.c
394
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
395
	-o objs/addon/src/ngx_http_vhost_traffic_status_set.o \
396
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_set.c
397
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
398
	-o objs/addon/src/ngx_http_vhost_traffic_status_dump.o \
399
	/root/nginx_build/nginx-module-vts-0.1.18/src/ngx_http_vhost_traffic_status_dump.c
400
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
401
	-o objs/ngx_modules.o \
402
	objs/ngx_modules.c
403
cc -o objs/nginx \
404
objs/src/core/nginx.o \
405
objs/src/core/ngx_log.o \
406
objs/src/core/ngx_palloc.o \
407
objs/src/core/ngx_array.o \
408
objs/src/core/ngx_list.o \
409
objs/src/core/ngx_hash.o \
410
objs/src/core/ngx_buf.o \
411
objs/src/core/ngx_queue.o \
412
objs/src/core/ngx_output_chain.o \
413
objs/src/core/ngx_string.o \
414
objs/src/core/ngx_parse.o \
415
objs/src/core/ngx_parse_time.o \
416
objs/src/core/ngx_inet.o \
417
objs/src/core/ngx_file.o \
418
objs/src/core/ngx_crc32.o \
419
objs/src/core/ngx_murmurhash.o \
420
objs/src/core/ngx_md5.o \
421
objs/src/core/ngx_sha1.o \
422
objs/src/core/ngx_rbtree.o \
423
objs/src/core/ngx_radix_tree.o \
424
objs/src/core/ngx_slab.o \
425
objs/src/core/ngx_times.o \
426
objs/src/core/ngx_shmtx.o \
427
objs/src/core/ngx_connection.o \
428
objs/src/core/ngx_cycle.o \
429
objs/src/core/ngx_spinlock.o \
430
objs/src/core/ngx_rwlock.o \
431
objs/src/core/ngx_cpuinfo.o \
432
objs/src/core/ngx_conf_file.o \
433
objs/src/core/ngx_module.o \
434
objs/src/core/ngx_resolver.o \
435
objs/src/core/ngx_open_file_cache.o \
436
objs/src/core/ngx_crypt.o \
437
objs/src/core/ngx_proxy_protocol.o \
438
objs/src/core/ngx_syslog.o \
439
objs/src/event/ngx_event.o \
440
objs/src/event/ngx_event_timer.o \
441
objs/src/event/ngx_event_posted.o \
442
objs/src/event/ngx_event_accept.o \
443
objs/src/event/ngx_event_udp.o \
444
objs/src/event/ngx_event_connect.o \
445
objs/src/event/ngx_event_pipe.o \
446
objs/src/os/unix/ngx_time.o \
447
objs/src/os/unix/ngx_errno.o \
448
objs/src/os/unix/ngx_alloc.o \
449
objs/src/os/unix/ngx_files.o \
450
objs/src/os/unix/ngx_socket.o \
451
objs/src/os/unix/ngx_recv.o \
452
objs/src/os/unix/ngx_readv_chain.o \
453
objs/src/os/unix/ngx_udp_recv.o \
454
objs/src/os/unix/ngx_send.o \
455
objs/src/os/unix/ngx_writev_chain.o \
456
objs/src/os/unix/ngx_udp_send.o \
457
objs/src/os/unix/ngx_udp_sendmsg_chain.o \
458
objs/src/os/unix/ngx_channel.o \
459
objs/src/os/unix/ngx_shmem.o \
460
objs/src/os/unix/ngx_process.o \
461
objs/src/os/unix/ngx_daemon.o \
462
objs/src/os/unix/ngx_setaffinity.o \
463
objs/src/os/unix/ngx_setproctitle.o \
464
objs/src/os/unix/ngx_posix_init.o \
465
objs/src/os/unix/ngx_user.o \
466
objs/src/os/unix/ngx_dlopen.o \
467
objs/src/os/unix/ngx_process_cycle.o \
468
objs/src/os/unix/ngx_linux_init.o \
469
objs/src/event/modules/ngx_epoll_module.o \
470
objs/src/os/unix/ngx_linux_sendfile_chain.o \
471
objs/src/core/ngx_regex.o \
472
objs/src/http/ngx_http.o \
473
objs/src/http/ngx_http_core_module.o \
474
objs/src/http/ngx_http_special_response.o \
475
objs/src/http/ngx_http_request.o \
476
objs/src/http/ngx_http_parse.o \
477
objs/src/http/modules/ngx_http_log_module.o \
478
objs/src/http/ngx_http_request_body.o \
479
objs/src/http/ngx_http_variables.o \
480
objs/src/http/ngx_http_script.o \
481
objs/src/http/ngx_http_upstream.o \
482
objs/src/http/ngx_http_upstream_round_robin.o \
483
objs/src/http/ngx_http_file_cache.o \
484
objs/src/http/ngx_http_write_filter_module.o \
485
objs/src/http/ngx_http_header_filter_module.o \
486
objs/src/http/modules/ngx_http_chunked_filter_module.o \
487
objs/src/http/modules/ngx_http_range_filter_module.o \
488
objs/src/http/modules/ngx_http_gzip_filter_module.o \
489
objs/src/http/ngx_http_postpone_filter_module.o \
490
objs/src/http/modules/ngx_http_ssi_filter_module.o \
491
objs/src/http/modules/ngx_http_charset_filter_module.o \
492
objs/src/http/modules/ngx_http_userid_filter_module.o \
493
objs/src/http/modules/ngx_http_headers_filter_module.o \
494
objs/src/http/ngx_http_copy_filter_module.o \
495
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
496
objs/src/http/modules/ngx_http_static_module.o \
497
objs/src/http/modules/ngx_http_autoindex_module.o \
498
objs/src/http/modules/ngx_http_index_module.o \
499
objs/src/http/modules/ngx_http_mirror_module.o \
500
objs/src/http/modules/ngx_http_try_files_module.o \
501
objs/src/http/modules/ngx_http_auth_basic_module.o \
502
objs/src/http/modules/ngx_http_access_module.o \
503
objs/src/http/modules/ngx_http_limit_conn_module.o \
504
objs/src/http/modules/ngx_http_limit_req_module.o \
505
objs/src/http/modules/ngx_http_geo_module.o \
506
objs/src/http/modules/ngx_http_map_module.o \
507
objs/src/http/modules/ngx_http_split_clients_module.o \
508
objs/src/http/modules/ngx_http_referer_module.o \
509
objs/src/http/modules/ngx_http_rewrite_module.o \
510
objs/src/http/modules/ngx_http_proxy_module.o \
511
objs/src/http/modules/ngx_http_fastcgi_module.o \
512
objs/src/http/modules/ngx_http_uwsgi_module.o \
513
objs/src/http/modules/ngx_http_scgi_module.o \
514
objs/src/http/modules/ngx_http_memcached_module.o \
515
objs/src/http/modules/ngx_http_empty_gif_module.o \
516
objs/src/http/modules/ngx_http_browser_module.o \
517
objs/src/http/modules/ngx_http_upstream_hash_module.o \
518
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
519
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
520
objs/src/http/modules/ngx_http_upstream_random_module.o \
521
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
522
objs/src/http/modules/ngx_http_upstream_zone_module.o \
523
objs/addon/src/ngx_http_vhost_traffic_status_module.o \
524
objs/addon/src/ngx_http_vhost_traffic_status_variables.o \
525
objs/addon/src/ngx_http_vhost_traffic_status_string.o \
526
objs/addon/src/ngx_http_vhost_traffic_status_shm.o \
527
objs/addon/src/ngx_http_vhost_traffic_status_node.o \
528
objs/addon/src/ngx_http_vhost_traffic_status_filter.o \
529
objs/addon/src/ngx_http_vhost_traffic_status_control.o \
530
objs/addon/src/ngx_http_vhost_traffic_status_limit.o \
531
objs/addon/src/ngx_http_vhost_traffic_status_display.o \
532
objs/addon/src/ngx_http_vhost_traffic_status_display_json.o \
533
objs/addon/src/ngx_http_vhost_traffic_status_display_prometheus.o \
534
objs/addon/src/ngx_http_vhost_traffic_status_set.o \
535
objs/addon/src/ngx_http_vhost_traffic_status_dump.o \
536
objs/ngx_modules.o \
537
-ldl -lpthread -lcrypt -lpcre -lz \
538
-Wl,-E
539
sed -e "s|%%PREFIX%%|/usr/local/nginx|" \
540
	-e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \
541
	-e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \
542
	-e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \
543
	< man/nginx.8 > objs/nginx.8
544
make[1]: Leaving directory `/root/nginx_build/nginx-1.17.3'
545
make -f objs/Makefile install
546
make[1]: Entering directory `/root/nginx_build/nginx-1.17.3'
547
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
548
test -d '/usr/local/nginx/sbin' \
549
	|| mkdir -p '/usr/local/nginx/sbin'
550
test ! -f '/usr/local/nginx/sbin/nginx' \
551
	|| mv '/usr/local/nginx/sbin/nginx' \
552
		'/usr/local/nginx/sbin/nginx.old'
553
cp objs/nginx '/usr/local/nginx/sbin/nginx'
554
test -d '/usr/local/nginx/conf' \
555
	|| mkdir -p '/usr/local/nginx/conf'
556
cp conf/koi-win '/usr/local/nginx/conf'
557
cp conf/koi-utf '/usr/local/nginx/conf'
558
cp conf/win-utf '/usr/local/nginx/conf'
559
test -f '/usr/local/nginx/conf/mime.types' \
560
	|| cp conf/mime.types '/usr/local/nginx/conf'
561
cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
562
test -f '/usr/local/nginx/conf/fastcgi_params' \
563
	|| cp conf/fastcgi_params '/usr/local/nginx/conf'
564
cp conf/fastcgi_params \
565
	'/usr/local/nginx/conf/fastcgi_params.default'
566
test -f '/usr/local/nginx/conf/fastcgi.conf' \
567
	|| cp conf/fastcgi.conf '/usr/local/nginx/conf'
568
cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
569
test -f '/usr/local/nginx/conf/uwsgi_params' \
570
	|| cp conf/uwsgi_params '/usr/local/nginx/conf'
571
cp conf/uwsgi_params \
572
	'/usr/local/nginx/conf/uwsgi_params.default'
573
test -f '/usr/local/nginx/conf/scgi_params' \
574
	|| cp conf/scgi_params '/usr/local/nginx/conf'
575
cp conf/scgi_params \
576
	'/usr/local/nginx/conf/scgi_params.default'
577
test -f '/usr/local/nginx/conf/nginx.conf' \
578
	|| cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'
579
cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
580
test -d '/usr/local/nginx/logs' \
581
	|| mkdir -p '/usr/local/nginx/logs'
582
test -d '/usr/local/nginx/logs' \
583
	|| mkdir -p '/usr/local/nginx/logs'
584
test -d '/usr/local/nginx/html' \
585
	|| cp -R html '/usr/local/nginx'
586
test -d '/usr/local/nginx/logs' \
587
	|| mkdir -p '/usr/local/nginx/logs'
588
make[1]: Leaving directory `/root/nginx_build/nginx-1.17.3'

修改配置文件
vim /usr/local/nginx/conf/nginx.conf

1
http {
2
    vhost_traffic_status_zone;
3
4
    ...
5
6
    server {
7
8
        ...
9
10
        location /status {
11
            vhost_traffic_status_display;
12
            vhost_traffic_status_display_format html;
13
        }
14
    }
15
}

运行

1
[root@txy ~]# /usr/local/nginx/sbin/nginx
2
[root@txy ~]# ps aux | grep nginx
3
root      7895  0.0  0.0  21780   644 ?        Ss   21:42   0:00 nginx: master process /usr/local/nginx/sbin/nginx
4
nobody    7896  0.0  0.1  24236  1416 ?        S    21:42   0:00 nginx: worker process
5
root      7915  0.0  0.0 112708   976 pts/0    S+   21:42   0:00 grep --color=auto nginx

自启
/usr/local/nginx/sbin/nginx命令加入/etc/rc.d/rc.local文件并赋予权限chmod +x /etc/rc.d/rc.local

未完待续……