美文网首页
Ubuntu安装最新Nginx(无脑操作)

Ubuntu安装最新Nginx(无脑操作)

作者: _飞鹰_ | 来源:发表于2019-06-02 21:47 被阅读0次
  1. 使用apt安装最新Nginx
    sudo apt-get install software-properties-common
    sudo add-apt-repository ppa:nginx/stable
    sudo apt-get updatesudo
    apt-get install nginx

2.安装完成后配置文件所在位置
/etc/nginx


image.png

3.添加配置文件(参考这篇文章)
https://stackoverflow.com/questions/5009324/node-js-nginx-what-now?rq=1

相关文章

网友评论

      本文标题:Ubuntu安装最新Nginx(无脑操作)

      本文链接:https://www.haomeiwen.com/subject/hdefxctx.html