use*_*970 10 versions letsencrypt
我使用带有 Nginx 和 Certbot 的 Ubuntu 16.04。
我尝试执行,例如:
certbot -v
certbot -V
certbot --version
man certbot
Run Code Online (Sandbox Code Playgroud)
没有人给出任何相关的输出。我怎么知道我的 Ubuntu 中当前安装的版本?
Tho*_*ard 11
certbot默认情况下,Ubuntu Trusty 和 Ubuntu Xenial 均未安装。要获得 Certbot,您必须使用 Certbot 开发人员维护的 Certbot PPA。
如果您没有使用 PPA(您将使用 安装sudo add-apt-repository ppa:certbot/certbot),则您没有 Certbot。
要获得 Certbot,您应该阅读Certbot 网站上的说明,选择您的特定版本,然后按照指南设置 Let's Encrypt。
在撰写本文时,Ubuntu 版本 16.10 和 17.04 已结束生命周期,不包括在此答案中。
从 17.10 开始(可能更早,请参阅我上面的注释),Certbot 包含在存储库中。
如果您使用的是较旧的 Ubuntu(14.04 或 16.04),并且您使用的是 PPA,则certbot可以使用。
要查找已安装的 Certbot 版本,您可以使用apt-cache policy certbot | grep Installed获取信息,如下所示(请注意,以下显示的版本信息截至 2018 年 4 月 10 日 12:18,在全新的“certbot”安装上是准确的):
$ apt-cache policy certbot | grep -i Installed
Installed: 0.22.2-1+ubuntu16.04.1+certbot+1
Run Code Online (Sandbox Code Playgroud)
如您所见,这里的这台计算机上安装了 0.22.2 版本,这是一台使用 Certbot PPA 的 16.04 机器。
| 归档时间: |
|
| 查看次数: |
30917 次 |
| 最近记录: |