【问题标题】:I am having problems installing mod_ssl onto my AWS Apache instance我在将 mod_ssl 安装到我的 AWS Apache 实例时遇到问题
【发布时间】:2018-10-24 00:45:00
【问题描述】:

我在将 mod_ssl 安装到我的 AWS Apache 实例时遇到问题...

[ec2-user@ip-172-31-18-185 ~]$ yum install mod_ssl
Loaded plugins: priorities, update-motd, upgrade-helper
You need to be root to perform this command.
[ec2-user@ip-172-31-18-185 ~]$ sudo yum install mod_ssl
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.2.34-1.16.amzn1 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: 1:mod_ssl-2.2.34-1.16.amzn1.x86_64
--> Processing Dependency: httpd = 2.2.34-1.16.amzn1 for package: 1:mod_ssl-2.2.34-1.16.amzn1.x86_64
--> Running transaction check
---> Package httpd.x86_64 0:2.2.34-1.16.amzn1 will be installed
--> Processing Dependency: httpd-tools = 2.2.34-1.16.amzn1 for package: httpd-2.2.34-1.16.amzn1.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.34-1.16.amzn1.x86_64
--> Running transaction check
---> Package apr-util-ldap.x86_64 0:1.5.4-6.18.amzn1 will be installed
---> Package httpd-tools.x86_64 0:2.2.34-1.16.amzn1 will be installed
--> Processing Conflict: httpd24-2.4.33-2.78.amzn1.x86_64 conflicts httpd < 2.4.33
--> Processing Conflict: httpd24-tools-2.4.33-2.78.amzn1.x86_64 conflicts httpd-tools < 2.4.33
--> Finished Dependency Resolution
Error: httpd24-tools conflicts with httpd-tools-2.2.34-1.16.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.34-1.16.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[ec2-user@ip-172-31-18-185 ~]$

我尝试运行 sudo yum install 24mod_ssl 无济于事?它说没有可用的包 24mod_ssl。

我能做什么?

【问题讨论】:

标签: linux apache amazon-ec2 mod-ssl


【解决方案1】:

您的 apache 模块有冲突。看这里 httpd24-tools 与 httpd-tools-2.2.34-1.16.amzn1.x86_64 冲突。看起来您选择了预安装的 apache AMI 并在其上再次安装了 apache。

【讨论】:

    【解决方案2】:

    如果有人错过了上面 Andra 的评论,就像我第一次看到这篇文章时所做的那样:

    要解决冲突,您需要安装以下模块:

    sudo yum install mod24_ssl.x86_64

    【讨论】:

      猜你喜欢
      • 2021-11-11
      • 2023-03-12
      • 1970-01-01
      • 1970-01-01
      • 2019-02-28
      • 1970-01-01
      • 2020-05-31
      • 2019-12-06
      • 2020-08-14
      相关资源
      最近更新 更多