**
环境
**
centos 7.5 192.168.182.8 tomcat版本:8.5.54 nginx版本:1.16.1 jdk:8
安装Nginx
[root@localhost ~]# yum -y install gcc gcc-c++ pcre-devel zlib-devel
[root@localhost ~]# tar xzf nginx-1.16.1.tar.gz
[root@localhost ~]# cd nginx-1.16.1
[root@localhost nginx-1.16.1]# ./configure --prefix=/usr/local/nginx
[root@localhost nginx-1.16.1]<