官网:nginx.org
官方文档:http://nginx.org/en/docs/configure.html
下载:#wget http://nginx.org/download/nginx-1.12.1.tar.gz
解压: tar zxvf nginx-1.12.1.tar.gz
编译: ./configure --prefix=/usr/local/nginx --with-http_ssl_module
检验是否正确:echo $?
安装:make && make install
启动:/usr/local/nginx/sbin/nginx
查看启动:ps -aux |grep nginx
配置文件:cd /usr/local/nginx/conf ; vi nginx.conf