Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
276 views
in Technique[技术] by (71.8m points)

ssl - installing mod_ssl amazon linux

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

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

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?

EDIT:

I did sudo yum -v remove httpd-tools-2.2.25-1.0.amzn1.x86_64 and outputs this:

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

Doing yum search mod_ssl outputs this:

enter image description here

question from:https://stackoverflow.com/questions/19646150/installing-mod-ssl-amazon-linux

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Try this:

sudo yum install mod24_ssl

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

yum search all mod_ssl

Returns:

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...