使用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

相关文章:

  • 2022-01-22
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-30
  • 2021-08-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-05-23
  • 2021-11-02
  • 2021-05-28
相关资源
相似解决方案