1.nginx的版本发布历史

nginx学习.第一部分

  1. 2015年支持thread pool提供stream四层反向代理支持reuseport特性,支持http v2协议。完全可以替代LVS
  2. 2016年支持动态模块

2.nginx的编译

wget http://nginx.org/download/nginx-1.14.2.tar.gz  # 官网下载稳定版本(双数版本)
tar zxf nginx-1.14.2.tar.gz 
./configure --help |more                  # 查看编译参数
./configure --prefix=/application/nginx          # 指定编译路径,其他默认

# configure执行完会在objs下生成中间件文件

/application/nginx-1.14.2/objs/ ngx_modules.c      # 这个文件决定了哪些模块会被编译
make && make install

 

相关文章:

  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-09-08
  • 2021-05-20
  • 2022-01-23
猜你喜欢
  • 2021-04-02
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-06-27
  • 2021-09-22
  • 2022-12-23
相关资源
相似解决方案