在Ubuntu 19.10中安装Nginx 1.16(使用操作系统自带的安装方式)

首先

在Ubuntu 19.10上安装Nginx 1.16
LTS版本概览原文:Nginx各种安装方法和EOL总结

支持

从Ubuntu Wiki上的EoanErmine/ReleaseNotes可以得知,2020年7月后操作系统将进入EOL(维护周期结束)。
因此,对于之后报告的漏洞和问题可能不会予以修复。

日志

安装

# cat /etc/os-release
NAME="Ubuntu"
VERSION="19.10 (Eoan Ermine)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.10"
VERSION_ID="19.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=eoan
UBUNTU_CODENAME=eoan

# apt update; apt install -y nginx
... 略

各种确认 (gè

# which nginx
/usr/sbin/nginx

# nginx -v
nginx version: nginx/1.16.1 (Ubuntu)

# apt show nginx
Package: nginx
Version: 1.16.1-0ubuntu2
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Nginx Maintainers <pkg-nginx-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44.0 kB
Depends: nginx-core (<< 1.16.1-0ubuntu2.1~) | nginx-full (<< 1.16.1-0ubuntu2.1~) | nginx-light (<< 1.16.1-0ubuntu2.1~) | nginx-extras (<< 1.16.1-0ubuntu2.1~), nginx-core (>= 1.16.1-0ubuntu2) | nginx-full (>= 1.16.1-0ubuntu2) | nginx-light (>= 1.16.1-0ubuntu2) | nginx-extras (>= 1.16.1-0ubuntu2)
Homepage: http://nginx.net
Supported: 9m
Download-Size: 3632 B
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu eoan/main amd64 Packages
Description: small, powerful, scalable web/proxy server
bannerAds