centos 7.0 nginx 1.7.9 安装过程

服务器   发布日期:2025年07月02日   浏览次数:177

系统用的是centos 7.0最小化安装 我现在安装完了 写一下步骤 还没完全搞懂

首先安装GCC 

  1. [root@localhost ~]# yum install -y gcc gcc-c++
  2. 已加载插件:fastestmirror
  3. base | 3.6 kB 00:00
  4. extras | 3.4 kB 00:00
  5. updates | 3.4 kB 00:00
  6. Determining fastest mirrors
  7. * base: mirrors.yun-idc.com
  8. * extras: mirror.bit.edu.cn
  9. * updates: mirrors.yun-idc.com
  10. 软件包 gcc-4.8.2-16.2.el7_0.x86_64 已安装并且是最新版本
  11. 正在解决依赖关系
  12. --> 正在检查事务
  13. ---> 软件包 gcc-c++.x86_64.0.4.8.2-16.2.el7_0 将被 安装
  14. --> 正在处理依赖关系 libstdc++-devel = 4.8.2-16.2.el7_0,它被软件包 gcc-c++-4.8.2-16.2.el7_0.x86_64
  15. --> 正在处理依赖关系 libstdc++ = 4.8.2-16.2.el7_0,它被软件包 gcc-c++-4.8.2-16.2.el7_0.x86_64 需要
  16. --> 正在检查事务
  17. ---> 软件包 libstdc++.x86_64.0.4.8.2-16.el7 将被 升级
  18. ---> 软件包 libstdc++.x86_64.0.4.8.2-16.2.el7_0 将被 更新
  19. ---> 软件包 libstdc++-devel.x86_64.0.4.8.2-16.2.el7_0 将被 安装
  20. --> 解决依赖关系完成
  21. 依赖关系解决
  22. ================================================================================
  23. Package 架构 版本 大小
  24. ================================================================================
  25. 正在安装:
  26. gcc-c++ x86_64 4.8.2-16.2.el7_0 updates 7.2 M
  27. 为依赖而安装:
  28. libstdc++-devel x86_64 4.8.2-16.2.el7_0 updates 1.5 M
  29. 为依赖而更新:
  30. libstdc++ x86_64 4.8.2-16.2.el7_0 updates 288 k
  31. 事务概要
  32. ================================================================================
  33. 安装 1 软件包 (+1 依赖软件包)
  34. 升级 ( 1 依赖软件包)
  35. 总下载量:8.9 M
  36. Downloading packages:
  37. Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
  38. (1/3): libstdc++-4.8.2-16.2.el7_0.x86_64.rpm | 288 kB 00:00
  39. (2/3): gcc-c++-4.8.2-16.2.el7_0.x86_64.rpm | 7.2 MB 00:02
  40. (3/3): libstdc++-devel-4.8.2-16.2.el7_0.x86_64.rpm | 1.5 MB 00:04
  41. --------------------------------------------------------------------------------
  42. 总计 1.8 MB/s | 8.9 MB 00:04
  43. Running transaction check
  44. Running transaction test
  45. Transaction test succeeded
  46. Running transaction
  47. 正在更新 : libstdc++-4.8.2-16.2.el7_0.x86_64 1/4
  48. 正在安装 : libstdc++-devel-4.8.2-16.2.el7_0.x86_64 2/4
  49. 正在安装 : gcc-c++-4.8.2-16.2.el7_0.x86_64 3/4
  50. 清理 : libstdc++-4.8.2-16.el7.x86_64 4/4
  51. 验证中 : libstdc++-4.8.2-16.2.el7_0.x86_64 1/4
  52. 验证中 : libstdc++-devel-4.8.2-16.2.el7_0.x86_64 2/4
  53. 验证中 : gcc-c++-4.8.2-16.2.el7_0.x86_64 3/4
  54. 验证中 : libstdc++-4.8.2-16.el7.x86_64 4/4
  55. 已安装:
  56. gcc-c++.x86_64 0:4.8.2-16.2.el7_0
  57. 作为依赖被安装:
  58. libstdc++-devel.x86_64 0:4.8.2-16.2.el7_0
  59. 作为依赖被升级:
  60. libstdc++.x86_64 0:4.8.2-16.2.el7_0
  61. 完毕!
  1. pcre安装完后 新建组nginx 用户 nginx
  2. [root@localhost pcre-8.36]# groupadd nginx
  3. [root@localhost pcre-8.36]# useradd -g nginx nginx

 

下载nginx

http://nginx.org/en/download.html

Nginx官网提供了三个类型的版本
Mainline version:Mainline 是 Nginx 目前主力在做的版本,可以说是开发版
Stable version:最新稳定版,生产环境上建议使用的版本
Legacy versions:遗留的老版本的稳定版

1.下载文件
wget http://nginx.org/download/nginx-1.7.9.tar.gz

  1. [root@localhost local]# wget http://nginx.org/download/nginx-1.7.9.tar.gz
  2. --2015-01-02 03:13:22-- http://nginx.org/download/nginx-1.7.9.tar.gz
  3. 正在解析主机 nginx.org (nginx.org)... 206.251.255.63
  4. 正在连接 nginx.org (nginx.org)|206.251.255.63|:80... 已连接。
  5. 已发出 HTTP 请求,正在等待回应... 200 OK
  6. 长度:827263 (808K) [application/octet-stream]
  7. 正在保存至: nginx-1.7.9.tar.gz
  8. 100%[======================================>] 827,263 304KB/s 用时 2.7s
  9. 2015-01-02 03:13:25 (304 KB/s) - 已保存 nginx-1.7.9.tar.gz [827263/827263])

2.解压文件
tar -zxvf nginx-1.7.9.tar.gz

  1. [root@localhost local]# tar -axvf nginx-1.7.9.tar.gz
  2. nginx-1.7.9/
  3. nginx-1.7.9/auto/
  4. nginx-1.7.9/conf/
  5. nginx-1.7.9/contrib/
  6. nginx-1.7.9/src/
  7. nginx-1.7.9/configure
  8. nginx-1.7.9/LICENSE
  9. nginx-1.7.9/README
  10. nginx-1.7.9/html/
  11. nginx-1.7.9/man/
  12. nginx-1.7.9/CHANGES.ru
  13. nginx-1.7.9/CHANGES
  14. nginx-1.7.9/man/nginx.8
  15. nginx-1.7.9/html/50x.html
  16. nginx-1.7.9/html/index.html
  17. nginx-1.7.9/src/core/
  18. nginx-1.7.9/src/event/
  19. nginx-1.7.9/src/http/
  20. nginx-1.7.9/src/mail/
  21. nginx-1.7.9/src/misc/
  22. nginx-1.7.9/src/os/
  23. nginx-1.7.9/src/os/unix/
  24. nginx-1.7.9/src/os/unix/ngx_aio_read_chain.c
  25. nginx-1.7.9/src/os/unix/ngx_aio_read.c
  26. nginx-1.7.9/src/os/unix/ngx_aio_write_chain.c
  27. nginx-1.7.9/src/os/unix/ngx_aio_write.c
  28. nginx-1.7.9/src/os/unix/ngx_atomic.h
  29. nginx-1.7.9/src/os/unix/ngx_alloc.c
  30. nginx-1.7.9/src/os/unix/ngx_alloc.h
  31. nginx-1.7.9/src/os/unix/ngx_darwin_config.h
  32. nginx-1.7.9/src/os/unix/ngx_channel.c
  33. nginx-1.7.9/src/os/unix/ngx_channel.h
  34. nginx-1.7.9/src/os/unix/ngx_daemon.c
  35. nginx-1.7.9/src/os/unix/ngx_darwin.h
  36. nginx-1.7.9/src/os/unix/ngx_darwin_sendfile_chain.c
  37. nginx-1.7.9/src/os/unix/ngx_darwin_init.c
  38. nginx-1.7.9/src/os/unix/ngx_file_aio_read.c
  39. nginx-1.7.9/src/os/unix/ngx_errno.c
  40. nginx-1.7.9/src/os/unix/ngx_errno.h
  41. nginx-1.7.9/src/os/unix/ngx_freebsd.h
  42. nginx-1.7.9/src/os/unix/ngx_files.c
  43. nginx-1.7.9/src/os/unix/ngx_files.h
  44. nginx-1.7.9/src/os/unix/ngx_freebsd_rfork_thread.c
  45. nginx-1.7.9/src/os/unix/ngx_freebsd_config.h
  46. nginx-1.7.9/src/os/unix/ngx_freebsd_init.c
  47. nginx-1.7.9/src/os/unix/ngx_freebsd_sendfile_chain.c
  48. nginx-1.7.9/src/os/unix/ngx_freebsd_rfork_thread.h
  49. nginx-1.7.9/src/os/unix/ngx_gcc_atomic_sparc64.h
  50. nginx-1.7.9/src/os/unix/ngx_gcc_atomic_amd64.h
  51. nginx-1.7.9/src/os/unix/ngx_gcc_atomic_ppc.h
  52. nginx-1.7.9/src/os/unix/ngx_solaris_sendfilev_chain.c
  53. nginx-1.7.9/src/os/unix/ngx_gcc_atomic_x86.h
  54. nginx-1.7.9/src/os/unix/ngx_linux.h
  55. nginx-1.7.9/src/os/unix/ngx_linux_aio_read.c
  56. nginx-1.7.9/src/os/unix/ngx_linux_config.h
  57. nginx-1.7.9/src/os/unix/ngx_linux_init.c
  58. nginx-1.7.9/src/os/unix/ngx_linux_sendfile_chain.c
  59. nginx-1.7.9/src/os/unix/ngx_os.h
  60. nginx-1.7.9/src/os/unix/ngx_posix_config.h
  61. nginx-1.7.9/src/os/unix/ngx_posix_init.c
  62. nginx-1.7.9/src/os/unix/ngx_process.c
  63. nginx-1.7.9/src/os/unix/ngx_process.h
  64. nginx-1.7.9/src/os/unix/ngx_process_cycle.c
  65. nginx-1.7.9/src/os/unix/ngx_process_cycle.h
  66. nginx-1.7.9/src/os/unix/ngx_pthread_thread.c
  67. nginx-1.7.9/src/os/unix/ngx_readv_chain.c
  68. nginx-1.7.9/src/os/unix/ngx_recv.c
  69. nginx-1.7.9/src/os/unix/ngx_send.c
  70. nginx-1.7.9/src/os/unix/ngx_setaffinity.c
  71. nginx-1.7.9/src/os/unix/ngx_setaffinity.h
  72. nginx-1.7.9/src/os/unix/ngx_setproctitle.c
  73. nginx-1.7.9/src/os/unix/ngx_setproctitle.h
  74. nginx-1.7.9/src/os/unix/ngx_shmem.c
  75. nginx-1.7.9/src/os/unix/ngx_shmem.h
  76. nginx-1.7.9/src/os/unix/ngx_socket.c
  77. nginx-1.7.9/src/os/unix/ngx_socket.h
  78. nginx-1.7.9/src/os/unix/ngx_solaris.h
  79. nginx-1.7.9/src/os/unix/ngx_solaris_config.h
  80. nginx-1.7.9/src/os/unix/ngx_solaris_init.c
  81. nginx-1.7.9/src/os/unix/ngx_sunpro_atomic_sparc64.h
  82. nginx-1.7.9/src/os/unix/ngx_sunpro_amd64.il
  83. nginx-1.7.9/src/os/unix/ngx_sunpro_sparc64.il
  84. nginx-1.7.9/src/os/unix/ngx_sunpro_x86.il
  85. nginx-1.7.9/src/os/unix/ngx_thread.h
  86. nginx-1.7.9/src/os/unix/ngx_time.c
  87. nginx-1.7.9/src/os/unix/ngx_time.h
  88. nginx-1.7.9/src/os/unix/ngx_udp_recv.c
  89. nginx-1.7.9/src/os/unix/ngx_user.c
  90. nginx-1.7.9/src/os/unix/ngx_user.h
  91. nginx-1.7.9/src/os/unix/ngx_writev_chain.c
  92. nginx-1.7.9/src/os/unix/rfork_thread.S
  93. nginx-1.7.9/src/misc/ngx_google_perftools_module.c
  94. nginx-1.7.9/src/misc/ngx_cpp_test_module.cpp
  95. nginx-1.7.9/src/mail/ngx_mail_handler.c
  96. nginx-1.7.9/src/mail/ngx_mail.c
  97. nginx-1.7.9/src/mail/ngx_mail.h
  98. nginx-1.7.9/src/mail/ngx_mail_auth_http_module.c
  99. nginx-1.7.9/src/mail/ngx_mail_core_module.c
  100. nginx-1.7.9/src/mail/ngx_mail_imap_handler.c
  101. nginx-1.7.9/src/mail/ngx_mail_imap_module.c
  102. nginx-1.7.9/src/mail/ngx_mail_imap_module.h
  103. nginx-1.7.9/src/mail/ngx_mail_parse.c
  104. nginx-1.7.9/src/mail/ngx_mail_pop3_handler.c
  105. nginx-1.7.9/src/mail/ngx_mail_pop3_module.c
  106. nginx-1.7.9/src/mail/ngx_mail_pop3_module.h
  107. nginx-1.7.9/src/mail/ngx_mail_proxy_module.c
  108. nginx-1.7.9/src/mail/ngx_mail_smtp_handler.c
  109. nginx-1.7.9/src/mail/ngx_mail_smtp_module.c
  110. nginx-1.7.9/src/mail/ngx_mail_smtp_module.h
  111. nginx-1.7.9/src/mail/ngx_mail_ssl_module.c
  112. nginx-1.7.9/src/mail/ngx_mail_ssl_module.h
  113. nginx-1.7.9/src/http/modules/
  114. nginx-1.7.9/src/http/ngx_http_cache.h
  115. nginx-1.7.9/src/http/ngx_http.c
  116. nginx-1.7.9/src/http/ngx_http.h
  117. nginx-1.7.9/src/http/ngx_http_copy_filter_module.c
  118. nginx-1.7.9/src/http/ngx_http_busy_lock.c
  119. nginx-1.7.9/src/http/ngx_http_busy_lock.h
  120. nginx-1.7.9/src/http/ngx_http_config.h
  121. nginx-1.7.9/src/http/ngx_http_header_filter_module.c
  122. nginx-1.7.9/src/http/ngx_http_core_module.c
  123. nginx-1.7.9/src/http/ngx_http_core_module.h
  124. nginx-1.7.9/src/http/ngx_http_file_cache.c
  125. nginx-1.7.9/src/http/ngx_http_parse_time.c
  126. nginx-1.7.9/src/http/ngx_http_parse.c
  127. nginx-1.7.9/src/http/ngx_http_request_body.c
  128. nginx-1.7.9/src/http/ngx_http_request.c
  129. nginx-1.7.9/src/http/ngx_http_postpone_filter_module.c
  130. nginx-1.7.9/src/http/ngx_http_request.h
  131. nginx-1.7.9/src/http/ngx_http_spdy_module.c
  132. nginx-1.7.9/src/http/ngx_http_script.c
  133. nginx-1.7.9/src/http/ngx_http_script.h
  134. nginx-1.7.9/src/http/ngx_http_spdy.c
  135. nginx-1.7.9/src/http/ngx_http_spdy.h
  136. nginx-1.7.9/src/http/ngx_http_spdy_filter_module.c
  137. nginx-1.7.9/src/http/ngx_http_spdy_module.h
  138. nginx-1.7.9/src/http/ngx_http_special_response.c
  139. nginx-1.7.9/src/http/ngx_http_upstream.c
  140. nginx-1.7.9/src/http/ngx_http_upstream.h
  141. nginx-1.7.9/src/http/ngx_http_upstream_round_robin.c
  142. nginx-1.7.9/src/http/ngx_http_upstream_round_robin.h
  143. nginx-1.7.9/src/http/ngx_http_variables.c
  144. nginx-1.7.9/src/http/ngx_http_variables.h
  145. nginx-1.7.9/src/http/ngx_http_write_filter_module.c
  146. nginx-1.7.9/src/http/modules/ngx_http_addition_filter_module.c
  147. nginx-1.7.9/src/http/modules/ngx_http_access_module.c
  148. nginx-1.7.9/src/http/modules/ngx_http_charset_filter_module.c
  149. nginx-1.7.9/src/http/modules/ngx_http_auth_basic_module.c
  150. nginx-1.7.9/src/http/modules/ngx_http_auth_request_module.c
  151. nginx-1.7.9/src/http/modules/ngx_http_autoindex_module.c
  152. nginx-1.7.9/src/http/modules/ngx_http_browser_module.c
  153. nginx-1.7.9/src/http/modules/ngx_http_not_modified_filter_module.c
  154. nginx-1.7.9/src/http/modules/ngx_http_chunked_filter_module.c
  155. nginx-1.7.9/src/http/modules/ngx_http_dav_module.c
  156. nginx-1.7.9/src/http/modules/ngx_http_degradation_module.c
  157. nginx-1.7.9/src/http/modules/ngx_http_empty_gif_module.c
  158. nginx-1.7.9/src/http/modules/ngx_http_fastcgi_module.c
  159. nginx-1.7.9/src/http/modules/ngx_http_flv_module.c
  160. nginx-1.7.9/src/http/modules/ngx_http_geo_module.c
  161. nginx-1.7.9/src/http/modules/ngx_http_geoip_module.c
  162. nginx-1.7.9/src/http/modules/ngx_http_gunzip_filter_module.c
  163. nginx-1.7.9/src/http/modules/ngx_http_gzip_filter_module.c
  164. nginx-1.7.9/src/http/modules/ngx_http_gzip_static_module.c
  165. nginx-1.7.9/src/http/modules/ngx_http_headers_filter_module.c
  166. nginx-1.7.9/src/http/modules/ngx_http_image_filter_module.c
  167. nginx-1.7.9/src/http/modules/ngx_http_index_module.c
  168. nginx-1.7.9/src/http/modules/ngx_http_limit_conn_module.c
  169. nginx-1.7.9/src/http/modules/ngx_http_limit_req_module.c
  170. nginx-1.7.9/src/http/modules/ngx_http_log_module.c
  171. nginx-1.7.9/src/http/modules/ngx_http_map_module.c
  172. nginx-1.7.9/src/http/modules/ngx_http_memcached_module.c
  173. nginx-1.7.9/src/http/modules/ngx_http_mp4_module.c
  174. nginx-1.7.9/src/http/modules/ngx_http_random_index_module.c
  175. nginx-1.7.9/src/http/modules/ngx_http_proxy_module.c
  176. nginx-1.7.9/src/http/modules/ngx_http_upstream_ip_hash_module.c
  177. nginx-1.7.9/src/http/modules/ngx_http_range_filter_module.c
  178. nginx-1.7.9/src/http/modules/ngx_http_realip_module.c
  179. nginx-1.7.9/src/http/modules/ngx_http_referer_module.c
  180. nginx-1.7.9/src/http/modules/ngx_http_rewrite_module.c
  181. nginx-1.7.9/src/http/modules/ngx_http_scgi_module.c
  182. nginx-1.7.9/src/http/modules/ngx_http_secure_link_module.c
  183. nginx-1.7.9/src/http/modules/ngx_http_split_clients_module.c
  184. nginx-1.7.9/src/http/modules/ngx_http_ssi_filter_module.c
  185. nginx-1.7.9/src/http/modules/perl/
  186. nginx-1.7.9/src/http/modules/ngx_http_ssi_filter_module.h
  187. nginx-1.7.9/src/http/modules/ngx_http_ssl_module.c
  188. nginx-1.7.9/src/http/modules/ngx_http_ssl_module.h
  189. nginx-1.7.9/src/http/modules/ngx_http_static_module.c
  190. nginx-1.7.9/src/http/modules/ngx_http_stub_status_module.c
  191. nginx-1.7.9/src/http/modules/ngx_http_sub_filter_module.c
  192. nginx-1.7.9/src/http/modules/ngx_http_upstream_hash_module.c
  193. nginx-1.7.9/src/http/modules/ngx_http_upstream_keepalive_module.c
  194. nginx-1.7.9/src/http/modules/ngx_http_upstream_least_conn_module.c
  195. nginx-1.7.9/src/http/modules/ngx_http_userid_filter_module.c
  196. nginx-1.7.9/src/http/modules/ngx_http_uwsgi_module.c
  197. nginx-1.7.9/src/http/modules/ngx_http_xslt_filter_module.c
  198. nginx-1.7.9/src/http/modules/perl/Makefile.PL
  199. nginx-1.7.9/src/http/modules/perl/nginx.pm
  200. nginx-1.7.9/src/http/modules/perl/nginx.xs
  201. nginx-1.7.9/src/http/modules/perl/typemap
  202. nginx-1.7.9/src/http/modules/perl/ngx_http_perl_module.c
  203. nginx-1.7.9/src/http/modules/perl/ngx_http_perl_module.h
  204. nginx-1.7.9/src/event/modules/
  205. nginx-1.7.9/src/event/ngx_event_accept.c
  206. nginx-1.7.9/src/event/ngx_event.c
  207. nginx-1.7.9/src/event/ngx_event.h
  208. nginx-1.7.9/src/event/ngx_event_openssl_stapling.c
  209. nginx-1.7.9/src/event/ngx_event_busy_lock.c
  210. nginx-1.7.9/src/event/ngx_event_busy_lock.h
  211. nginx-1.7.9/src/event/ngx_event_connect.c
  212. nginx-1.7.9/src/event/ngx_event_connect.h
  213. nginx-1.7.9/src/event/ngx_event_mutex.c
  214. nginx-1.7.9/src/event/ngx_event_openssl.c
  215. nginx-1.7.9/src/event/ngx_event_openssl.h
  216. nginx-1.7.9/src/event/ngx_event_pipe.c
  217. nginx-1.7.9/src/event/ngx_event_pipe.h
  218. nginx-1.7.9/src/event/ngx_event_posted.c
  219. nginx-1.7.9/src/event/ngx_event_posted.h
  220. nginx-1.7.9/src/event/ngx_event_timer.c
  221. nginx-1.7.9/src/event/ngx_event_timer.h
  222. nginx-1.7.9/src/event/modules/ngx_devpoll_module.c
  223. nginx-1.7.9/src/event/modules/ngx_aio_module.c
  224. nginx-1.7.9/src/event/modules/ngx_eventport_module.c
  225. nginx-1.7.9/src/event/modules/ngx_epoll_module.c
  226. nginx-1.7.9/src/event/modules/ngx_win32_select_module.c
  227. nginx-1.7.9/src/event/modules/ngx_kqueue_module.c
  228. nginx-1.7.9/src/event/modules/ngx_poll_module.c
  229. nginx-1.7.9/src/event/modules/ngx_rtsig_module.c
  230. nginx-1.7.9/src/event/modules/ngx_select_module.c
  231. nginx-1.7.9/src/core/ngx_array.c
  232. nginx-1.7.9/src/core/nginx.c
  233. nginx-1.7.9/src/core/nginx.h
  234. nginx-1.7.9/src/core/ngx_conf_file.c
  235. nginx-1.7.9/src/core/ngx_array.h
  236. nginx-1.7.9/src/core/ngx_buf.c
  237. nginx-1.7.9/src/core/ngx_buf.h
  238. nginx-1.7.9/src/core/ngx_connection.c
  239. nginx-1.7.9/src/core/ngx_conf_file.h
  240. nginx-1.7.9/src/core/ngx_config.h
  241. nginx-1.7.9/src/core/ngx_murmurhash.c
  242. nginx-1.7.9/src/core/ngx_file.c
  243. nginx-1.7.9/src/core/ngx_connection.h
  244. nginx-1.7.9/src/core/ngx_core.h
  245. nginx-1.7.9/src/core/ngx_cpuinfo.c
  246. nginx-1.7.9/src/core/ngx_crc.h
  247. nginx-1.7.9/src/core/ngx_crc32.c
  248. nginx-1.7.9/src/core/ngx_crc32.h
  249. nginx-1.7.9/src/core/ngx_crypt.c
  250. nginx-1.7.9/src/core/ngx_crypt.h
  251. nginx-1.7.9/src/core/ngx_cycle.c
  252. nginx-1.7.9/src/core/ngx_cycle.h
  253. nginx-1.7.9/src/core/ngx_file.h
  254. nginx-1.7.9/src/core/ngx_hash.c
  255. nginx-1.7.9/src/core/ngx_hash.h
  256. nginx-1.7.9/src/core/ngx_inet.c
  257. nginx-1.7.9/src/core/ngx_inet.h
  258. nginx-1.7.9/src/core/ngx_list.c
  259. nginx-1.7.9/src/core/ngx_list.h
  260. nginx-1.7.9/src/core/ngx_log.c
  261. nginx-1.7.9/src/core/ngx_log.h
  262. nginx-1.7.9/src/core/ngx_md5.c
  263. nginx-1.7.9/src/core/ngx_md5.h
  264. nginx-1.7.9/src/core/ngx_open_file_cache.c
  265. nginx-1.7.9/src/core/ngx_murmurhash.h
  266. nginx-1.7.9/src/core/ngx_open_file_cache.h
  267. nginx-1.7.9/src/core/ngx_output_chain.c
  268. nginx-1.7.9/src/core/ngx_palloc.c
  269. nginx-1.7.9/src/core/ngx_palloc.h
  270. nginx-1.7.9/src/core/ngx_parse.c
  271. nginx-1.7.9/src/core/ngx_parse.h
  272. nginx-1.7.9/src/core/ngx_proxy_protocol.c
  273. nginx-1.7.9/src/core/ngx_times.h
  274. nginx-1.7.9/src/core/ngx_proxy_protocol.h
  275. nginx-1.7.9/src/core/ngx_queue.c
  276. nginx-1.7.9/src/core/ngx_queue.h
  277. nginx-1.7.9/src/core/ngx_radix_tree.c
  278. nginx-1.7.9/src/core/ngx_radix_tree.h
  279. nginx-1.7.9/src/core/ngx_rbtree.c
  280. nginx-1.7.9/src/core/ngx_rbtree.h
  281. nginx-1.7.9/src/core/ngx_regex.c
  282. nginx-1.7.9/src/core/ngx_regex.h
  283. nginx-1.7.9/src/core/ngx_resolver.c
  284. nginx-1.7.9/src/core/ngx_resolver.h
  285. nginx-1.7.9/src/core/ngx_sha1.h
  286. nginx-1.7.9/src/core/ngx_shmtx.c
  287. nginx-1.7.9/src/core/ngx_shmtx.h
  288. nginx-1.7.9/src/core/ngx_slab.c
  289. nginx-1.7.9/src/core/ngx_slab.h
  290. nginx-1.7.9/src/core/ngx_spinlock.c
  291. nginx-1.7.9/src/core/ngx_string.c
  292. nginx-1.7.9/src/core/ngx_string.h
  293. nginx-1.7.9/src/core/ngx_syslog.c
  294. nginx-1.7.9/src/core/ngx_syslog.h
  295. nginx-1.7.9/src/core/ngx_times.c
  296. nginx-1.7.9/contrib/geo2nginx.pl
  297. nginx-1.7.9/contrib/README
  298. nginx-1.7.9/contrib/unicode2nginx/
  299. nginx-1.7.9/contrib/vim/
  300. nginx-1.7.9/contrib/vim/ftdetect/
  301. nginx-1.7.9/contrib/vim/indent/
  302. nginx-1.7.9/contrib/vim/syntax/
  303. nginx-1.7.9/contrib/vim/syntax/nginx.vim
  304. nginx-1.7.9/contrib/vim/indent/nginx.vim
  305. nginx-1.7.9/contrib/vim/ftdetect/nginx.vim
  306. nginx-1.7.9/contrib/unicode2nginx/koi-utf
  307. nginx-1.7.9/contrib/unicode2nginx/win-utf
  308. nginx-1.7.9/contrib/unicode2nginx/unicode-to-nginx.pl
  309. nginx-1.7.9/conf/fastcgi.conf
  310. nginx-1.7.9/conf/fastcgi_params
  311. nginx-1.7.9/conf/koi-utf
  312. nginx-1.7.9/conf/koi-win
  313. nginx-1.7.9/conf/mime.types
  314. nginx-1.7.9/conf/nginx.conf
  315. nginx-1.7.9/conf/scgi_params
  316. nginx-1.7.9/conf/uwsgi_params
  317. nginx-1.7.9/conf/win-utf
  318. nginx-1.7.9/auto/cc/
  319. nginx-1.7.9/auto/have_headers
  320. nginx-1.7.9/auto/define
  321. nginx-1.7.9/auto/endianness
  322. nginx-1.7.9/auto/feature
  323. nginx-1.7.9/auto/have
  324. nginx-1.7.9/auto/lib/
  325. nginx-1.7.9/auto/os/
  326. nginx-1.7.9/auto/headers
  327. nginx-1.7.9/auto/include
  328. nginx-1.7.9/auto/init
  329. nginx-1.7.9/auto/install
  330. nginx-1.7.9/auto/types/
  331. nginx-1.7.9/auto/make
  332. nginx-1.7.9/auto/modules
  333. nginx-1.7.9/auto/nohave
  334. nginx-1.7.9/auto/options
  335. nginx-1.7.9/auto/sources
  336. nginx-1.7.9/auto/stubs
  337. nginx-1.7.9/auto/summary
  338. nginx-1.7.9/auto/unix
  339. nginx-1.7.9/auto/types/uintptr_t
  340. nginx-1.7.9/auto/types/sizeof
  341. nginx-1.7.9/auto/types/typedef
  342. nginx-1.7.9/auto/types/value
  343. nginx-1.7.9/auto/os/conf
  344. nginx-1.7.9/auto/os/darwin
  345. nginx-1.7.9/auto/os/freebsd
  346. nginx-1.7.9/auto/os/linux
  347. nginx-1.7.9/auto/os/solaris
  348. nginx-1.7.9/auto/os/win32
  349. nginx-1.7.9/auto/lib/geoip/
  350. nginx-1.7.9/auto/lib/conf
  351. nginx-1.7.9/auto/lib/google-perftools/
  352. nginx-1.7.9/auto/lib/libatomic/
  353. nginx-1.7.9/auto/lib/libgd/
  354. nginx-1.7.9/auto/lib/libxslt/
  355. nginx-1.7.9/auto/lib/md5/
  356. nginx-1.7.9/auto/lib/make
  357. nginx-1.7.9/auto/lib/openssl/
  358. nginx-1.7.9/auto/lib/pcre/
  359. nginx-1.7.9/auto/lib/perl/
  360. nginx-1.7.9/auto/lib/sha1/
  361. nginx-1.7.9/auto/lib/zlib/
  362. nginx-1.7.9/auto/lib/test
  363. nginx-1.7.9/auto/lib/zlib/makefile.bcc
  364. nginx-1.7.9/auto/lib/zlib/conf
  365. nginx-1.7.9/auto/lib/zlib/make
  366. nginx-1.7.9/auto/lib/zlib/makefile.msvc
  367. nginx-1.7.9/auto/lib/zlib/makefile.owc
  368. nginx-1.7.9/auto/lib/sha1/makefile.bcc
  369. nginx-1.7.9/auto/lib/sha1/conf
  370. nginx-1.7.9/auto/lib/sha1/make
  371. nginx-1.7.9/auto/lib/sha1/makefile.msvc
  372. nginx-1.7.9/auto/lib/sha1/makefile.owc
  373. nginx-1.7.9/auto/lib/perl/conf
  374. nginx-1.7.9/auto/lib/perl/make
  375. nginx-1.7.9/auto/lib/pcre/makefile.bcc
  376. nginx-1.7.9/auto/lib/pcre/conf
  377. nginx-1.7.9/auto/lib/pcre/make
  378. nginx-1.7.9/auto/lib/pcre/makefile.msvc
  379. nginx-1.7.9/auto/lib/pcre/makefile.owc
  380. nginx-1.7.9/auto/lib/openssl/makefile.bcc
  381. nginx-1.7.9/auto/lib/openssl/conf
  382. nginx-1.7.9/auto/lib/openssl/make
  383. nginx-1.7.9/auto/lib/openssl/makefile.msvc
  384. nginx-1.7.9/auto/lib/md5/makefile.bcc
  385. nginx-1.7.9/auto/lib/md5/conf
  386. nginx-1.7.9/auto/lib/md5/make
  387. nginx-1.7.9/auto/lib/md5/makefile.msvc
  388. nginx-1.7.9/auto/lib/md5/makefile.owc
  389. nginx-1.7.9/auto/lib/libxslt/conf
  390. nginx-1.7.9/auto/lib/libgd/conf
  391. nginx-1.7.9/auto/lib/libatomic/conf
  392. nginx-1.7.9/auto/lib/libatomic/make
  393. nginx-1.7.9/auto/lib/google-perftools/conf
  394. nginx-1.7.9/auto/lib/geoip/conf
  395. nginx-1.7.9/auto/cc/clang
  396. nginx-1.7.9/auto/cc/acc
  397. nginx-1.7.9/auto/cc/bcc
  398. nginx-1.7.9/auto/cc/ccc
  399. nginx-1.7.9/auto/cc/conf
  400. nginx-1.7.9/auto/cc/gcc
  401. nginx-1.7.9/auto/cc/icc
  402. nginx-1.7.9/auto/cc/msvc
  403. nginx-1.7.9/auto/cc/name
  404. nginx-1.7.9/auto/cc/owccd
  405. nginx-1.7.9/auto/cc/sunc

 

[root@localhost local]# ls
bin games lib libexec nginx-1.7.9.tar.gz share
etc include lib64 nginx-1.7.9 sbin src

基本配置文件需要的库 pcre-devel

  1. [root@localhost src]# yum -y install pcre-devel
  2. 已加载插件:fastestmirror
  3. base | 3.6 kB 00:00
  4. extras | 3.4 kB 00:00
  5. updates | 3.4 kB 00:00
  6. Loading mirror speeds from cached hostfile
  7. * base: mirrors.yun-idc.com
  8. * extras: mirror.bit.edu.cn
  9. * updates: mirrors.yun-idc.com
  10. 正在解决依赖关系
  11. --> 正在检查事务
  12. ---> 软件包 pcre-devel.x86_64.0.8.32-12.el7 将被 安装
  13. --> 解决依赖关系完成
  14. 依赖关系解决
  15. ================================================================================
  16. Package 架构 版本 大小
  17. ================================================================================
  18. 正在安装:
  19. pcre-devel x86_64 8.32-12.el7 base 477 k
  20. 事务概要
  21. ================================================================================
  22. 安装 1 软件包
  23. 总下载量:477 k
  24. 安装大小:1.4 M
  25. Downloading packages:
  26. pcre-devel-8.32-12.el7.x86_64.rpm | 477 kB 00:00
  27. Running transaction check
  28. Running transaction test
  29. Transaction test succeeded
  30. Running transaction
  31. 正在安装 : pcre-devel-8.32-12.el7.x86_64 1/1
  32. 验证中 : pcre-devel-8.32-12.el7.x86_64 1/1
  33. 已安装:
  34. pcre-devel.x86_64 0:8.32-12.el7
  35. 完毕!

直接执行会报错

[root@localhost nginx-1.7.9]# ./configure --prefix=/usr/local/nginx --conf-
path=/usr/local/nginx/conf/nginx.conf --user=nginx --group=nginx
checking for OS
+ Linux 3.10.0-123.el7.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
checking for gcc -pipe switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for O_PATH ... found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

在安装zlib-devel库

  1. [root@localhost nginx-1.7.9]# yum install -y zlib-devel
  2. 已加载插件:fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: mirrors.yun-idc.com
  5. * extras: mirror.bit.edu.cn
  6. * updates: mirrors.yun-idc.com
  7. 正在解决依赖关系
  8. --> 正在检查事务
  9. ---> 软件包 zlib-devel.x86_64.0.1.2.7-13.el7 将被 安装
  10. --> 解决依赖关系完成
  11. 依赖关系解决
  12. ================================================================================
  13. Package 架构 版本 大小
  14. ================================================================================
  15. 正在安装:
  16. zlib-devel x86_64 1.2.7-13.el7 base 49 k
  17. 事务概要
  18. ================================================================================
  19. 安装 1 软件包
  20. 总下载量:49 k
  21. 安装大小:132 k
  22. Downloading packages:
  23. zlib-devel-1.2.7-13.el7.x86_64.rpm | 49 kB 00:01
  24. Running transaction check
  25. Running transaction test
  26. Transaction test succeeded
  27. Running transaction
  28. 正在安装 : zlib-devel-1.2.7-13.el7.x86_64 1/1
  29. 验证中 : zlib-devel-1.2.7-13.el7.x86_64 1/1
  30. 已安装:
  31. zlib-devel.x86_64 0:1.2.7-13.el7
  32. 完毕!

./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using --without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.

不然会报错 如上。

正常编译

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

    以上就是centos 7.0 nginx 1.7.9 安装过程的详细内容,更多关于centos 7.0 nginx 1.7.9 安装过程的资料请关注九品源码其它相关文章!