我正在尝试在RHEL服务器上安装certbot。

Instructions to enable epel-release

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


然后

# subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms

已安装epel-release-7-11。

# yum install certbot
Loaded plugins: product-id, search-disabled-repos, subscription-manager
No package certbot available.
Error: Nothing to do


我什至从手动下载了rpm
fedora project epel

删除并清除所有缓存。但是安装软件包不可用。

最佳答案

供以后参考,我可以安装执行以下行:

sudo yum -y install yum-utils

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

sudo yum install certbot


https://certbot.eff.org/lets-encrypt/centosrhel7-other

10-02 08:43