我只是想在CentOS服务器上安装mod_ssl。进行简单的sudo yum install mod_ssl会返回错误:



我尝试通过以下方式删除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

进行yum search mod_ssl输出如下:

最佳答案

尝试这个:

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 Amazon Linux,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19646150/

10-15 12:12