本文介绍了安装mod_ssl Amazon Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想在CentOS服务器上安装mod_ssl.做一个简单的sudo yum install mod_ssl会返回一个错误:

I'm simply trying to install mod_ssl on a CentOS server. Doing a straightforward sudo yum install mod_ssl would return an error:

错误:httpd24与httpd-2.2.25-1.0.amzn1.x86_64冲突

Error: httpd24 conflicts with httpd-2.2.25-1.0.amzn1.x86_64

您可以尝试使用--skip-broken解决此问题

You could try using --skip-broken to work around the problem

您可以尝试运行:rpm -Va --nofiles --nodigest

You could try running: rpm -Va --nofiles --nodigest

我尝试通过以下方式删除httpd-tools:sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64,但是没有运气.有什么我想念的吗?

I tried to remove httpd-tools by: sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64 but no luck. Is there any things that I missed?

编辑:

我做了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

执行yum search mod_ssl会输出以下内容:

推荐答案

尝试一下:

sudo yum install mod24_ssl

如果将来遇到其他类似问题,请使用yum search all.例如:

If you run into another incompatibility like this in the future, use yum search all. For example:

yum search all mod_ssl

返回:

mod_ssl.x86_64 : SSL/TLS module for the Apache HTTP Server
mod24_ssl.x86_64 : SSL/TLS module for the Apache HTTP Server

这篇关于安装mod_ssl Amazon Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 13:13