Ubuntu 安装Nginx的APT源

让人想犯罪 __ 提交于 2019-12-20 03:29:04

使用apt安装nginx时,默认是Ubuntu自带的源,版本并不是最新的。

可以使用Ubuntu社区爱好者维护源,地址:https://launchpad.net/~nginx/+archive/ubuntu/stable

安装方法很简单:

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

然后安装nginx即可:

 

apt-get install nginx
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!