安装最新版本 nginx

有时用操作系统默认安装 yum install apt install , 版本都会低,当然存在的bug 也会有。装最新版本 nginx 需要用他自己的源:

sudo add-apt-repository ppa:nginx/stable 
sudo apt-get update
sudo apt-get install nginx

猜你喜欢

转载自www.cnblogs.com/zhenfei/p/9120125.html