gpt4 book ai didi

linux - 安装 mod_ssl 亚马逊 Linux

转载 作者:IT老高 更新时间:2023-10-28 12:38:27 24 4
gpt4 key购买 nike

我只是想在 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

我试图通过 sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64 删除 httpd-tools 但没有运气。有什么我错过的吗?

编辑:

我做了 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 输出如下:

enter image description here

最佳答案

试试这个:

sudo yum install mod24_ssl

如果以后遇到类似的不兼容问题,请使用 yum search all。例如:

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

关于linux - 安装 mod_ssl 亚马逊 Linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19646150/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com