1. 下载Nginx 浏览器输入:http://nginx.org选择stable版右键——复制链接地址(http://nginx.org/download/nginx-1.16.0.tar.gz)打开虚拟机centos,打开xftp,输入指令:cd /home/soft输入指令:wget http://nginx.org/download/nginx-1.16.0.tar.gz输入指令:tar -xzf nginx-1.16.0.tar.gz