ppa:ondrej/nginx 的目的是什么?
What's the purpose of ppa:ondrej/nginx?
我刚刚在我的 ubuntu 服务器上添加 ppa:ondrej/php
,它提示我下面的消息。
为什么建议我也添加 ppa:ondrej/nginx
(稳定)?这样做的确切目的是什么?
参考信息我已经安装了 Nginx from the official doc。
$ sudo add-apt-repository ppa:ondrej/php
Note: PPA publishes dbgsym
You need to add 'main/debug' component to install the ddebs,
but apt update will print warning if the PPA has no ddebs
Repository: 'deb http://ppa.launchpad.net/ondrej/php/ubuntu/ groovy main'
Description:
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.
Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa
You can get more information about the packages at https://deb.sury.org
IMPORTANT: The <foo>-backports is now required on older Ubuntu releases.
BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting
CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
or ppa:ondrej/nginx
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/
WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:
# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
我不太了解 Personal Package Archives (PPA),所以如果能提供一些有关其工作原理的帮助,我将不胜感激。
根据 homepage for ppa:ondrej/nginx
,此处 PPA 描述:
This branch follows latest NGINX Stable packages compiled against latest OpenSSL for HTTP/2 and TLS 1.3 support.
BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating: https://donate.sury.org
所以是的,与 ppa:ondrej/php
的目的相同,但要安装最新的 Nginx(稳定)版本。
此外,ppa:ondrej/nginx
包括 brotli nginx 模块,它没有包含在官方 Ubuntu nginx 包中,这使得这个 ppa 现在非常有用,因为 brotli 被大多数浏览器支持并提供更好的压缩比 gzip.
此外,它是最新的稳定版本(例如,官方Ubuntu:focal存储库有nginx 1.18,但ppa:ondrej/nginx有nginx 1.20)。
我刚刚在我的 ubuntu 服务器上添加 ppa:ondrej/php
,它提示我下面的消息。
为什么建议我也添加 ppa:ondrej/nginx
(稳定)?这样做的确切目的是什么?
参考信息我已经安装了 Nginx from the official doc。
$ sudo add-apt-repository ppa:ondrej/php
Note: PPA publishes dbgsym
You need to add 'main/debug' component to install the ddebs,
but apt update will print warning if the PPA has no ddebs
Repository: 'deb http://ppa.launchpad.net/ondrej/php/ubuntu/ groovy main'
Description:
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.
Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa
You can get more information about the packages at https://deb.sury.org
IMPORTANT: The <foo>-backports is now required on older Ubuntu releases.
BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting
CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
or ppa:ondrej/nginx
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/
WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:
# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
我不太了解 Personal Package Archives (PPA),所以如果能提供一些有关其工作原理的帮助,我将不胜感激。
根据 homepage for ppa:ondrej/nginx
,此处 PPA 描述:
This branch follows latest NGINX Stable packages compiled against latest OpenSSL for HTTP/2 and TLS 1.3 support.
BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating: https://donate.sury.org
所以是的,与 ppa:ondrej/php
的目的相同,但要安装最新的 Nginx(稳定)版本。
此外,ppa:ondrej/nginx
包括 brotli nginx 模块,它没有包含在官方 Ubuntu nginx 包中,这使得这个 ppa 现在非常有用,因为 brotli 被大多数浏览器支持并提供更好的压缩比 gzip.
此外,它是最新的稳定版本(例如,官方Ubuntu:focal存储库有nginx 1.18,但ppa:ondrej/nginx有nginx 1.20)。