Ubuntu 安装Nginx

前端之家收集整理的这篇文章主要介绍了Ubuntu 安装Nginx前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
apt-get update
apt-get upgrade -y
apt-get install -y python-software-properties software-properties-common
#如果你的Ubuntu上没有add-apt-repository命令,就执行这一步。
add-apt-repository ppa:Nginx/stable
apt-get update
apt-get install -y Nginx-extras

猜你在找的Ubuntu相关文章