安装 mod_ssl amazon linux

安装 mod_ssl amazon linux

我只是想在 CentOS 服务器上安装 mod_ssl。直接执行 sudo yum install mod_ssl 会返回错误:

Error: httpd24-tools conflicts with httpd-tools-2.2.25-1.0.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.25-1.0.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

我尝试通过以下方式删除 httpd-tools:sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64但没有成功。

我也这样做了sudo yum -v remove httpd-tools-2.2.25-1.0.amzn1.x86_64并输出了这个:

Yum Version: 3.2.29
rpmdb time: 0.000
Setting up Remove Process
No Match for argument: httpd-tools-2.2.25-1.0.amzn1.x86_64
Setting up Package Sacks
amzn-main                                                  |  2.1 kB    00:00
amzn-updates                                               |  2.3 kB    00:00
pkgsack time: 0.330
Package(s) httpd-tools-2.2.25-1.0.amzn1.x86_64 available, but not installed.
No Packages marked for removal

并且,执行时sudo yum search mod_ssl会输出以下内容: 在此处输入图片描述

我尝试做的所有事情都不起作用。我遗漏了什么吗?

答案1

您可以使用 来安装它yum install mod24_ssl

相关内容