- wget http://nginx.org/download/nginx-1.14.1.tar.gz
- tar -zvxf nginx-1.14.1.tar.gz
- cd nginx-1.14.1
- sudo ./configure
- sudo make
- sudo make install
-
运行下面命令,来检查是否安装好了
8./usr/local/nginx/sbin/nginx 来启动nginx
已经编译安装好的nginx,添加未被编译的模块
https://imshusheng.com/linux/173.html