我只是在我的ubuntu服务器上添加了ppa:ondrej/php,它提示我下面的消息。
为什么建议我也添加ppa:ondrej/nginx (稳定)?这到底是为了什么?
有关信息,我已经安装了Nginx 从官方医生那里。
$ 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.我不太了解个人软件包档案(PPA),所以我希望能对它的工作提供一些帮助。
发布于 2021-02-06 12:33:19
根据主页 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 (稳定的)版本。
发布于 2021-05-21 06:26:45
此外,ppa:ondrej/nginx还包括brotli模块,它不包含在正式的Ubuntu包中,这使得这个ppa现在非常有用,因为brotli被大多数浏览器所支持,并且提供了比gzip更好的压缩。
此外,它是最新的稳定版本(例如,官方的Ubuntu:焦存储库有nginx 1.18,而ppa:ondrej/nginx有nginx 1.20)。
https://stackoverflow.com/questions/66076321
复制相似问题