1. // 下载安装包
    2. wget -c http://nginx.org/download/nginx-1.16.0.tar.gz
    3. // 解压安装包
    4. tar -xzf nginx-1.16.0.tar.gz
    5. // 移动位置
    6. cp nginx-1.16.0 /usr/local/system_config
    7. // 进入目录
    8. cd /usr/local/system_config/nginx-1.16.0
    9. // 配置nginx
    10. ./configure --prefix=/usr/local/nginx/ --with-http_stub_status_module --with-http_ssl_module
    11. // 编译
    12. make
    13. // 安装
    14. make install
    15. // 查看进程
    16. ps -ef | grep nginx
    17. // 查看版本
    18. /usr/local/nginx/sbin/nginx -v