【问题标题】:To use Certbot, packages from the EPEL repository need to be installed要使用 Certbot,需要安装 EPEL 存储库中的软件包
【发布时间】:2017-03-10 22:10:36
【问题描述】:

我使用 certbot-auto 部署 Let's Encrypt SSL 证书,并使用 crontab -e 更新证书,如下所示:

* 01 * * 1 /home/myname/certbot-auto --quiet

它有如下错误消息:

Bootstrapping dependencies for RedHat-based OSes... yum is /usr/bin/yum To use Certbot, packages from the EPEL repository need to be installed. Please enable this repository and try running Certbot again.

我无法解决这个错误。请帮帮我!

【问题讨论】:

    标签: ssl cron centos lets-encrypt certbot


    【解决方案1】:

    在 centos 7 下,只要启用了“附加”存储库,您就可以运行 yum -y install epel-release。我不确定这在 Centos 6 下是否可用(尝试一下肯定不会有什么坏处)。但是,要在 CentOS 6 下手动安装,您只需运行(以 root 身份或使用 sudo):

    wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    rpm -Uvh epel-release-6*.rpm
    

    在您的系统上安装 EPEL 存储库后,再次尝试运行 certbot。它现在应该能够自动安装任何所需的依赖项了。

    【讨论】:

      猜你喜欢
      • 2015-01-28
      • 1970-01-01
      • 2020-08-28
      • 1970-01-01
      • 2020-11-24
      • 2017-11-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多