搭建nginx
1.官网下载nginx
地址:http://nginx.org/en/download.html
或者是使用命令下载 wget -c https://nginx.org/download/nginx-版本号.tar.gz
2. 解压jar包
如果是下载的需要上传到Linux 然后进行解压
命令:tar -zxvf jar包
3. 配置基本信息
命令:./configure --prefix=/usr/local/nginx-1.16.1 --with-http_ssl_module --with-http_stub_status_module
执行完之后 在当前目录下多一个Makefile文件
解决