安装 mod_ssl 亚马逊 Linux [英] installing 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-tools 与httpd-tools-2.2.25-1.0.amzn1.x86_64
Error: httpd24-tools conflicts with httpd-tools-2.2.25-1.0.amzn1.x86_64
错误: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
我尝试通过 sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64
删除 httpd-tools
但没有运气.有什么我错过的吗?
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 亚马逊 Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!