0

I am setting up a CentOS 7 server as the migration target of my old CentOS 6 server.

With the state of system updates being so slow, I was thinking of using a more reactive or up-to-date repository for Apache httpd. This is out of security concerns (https://httpd.apache.org/security/vulnerabilities_24.html).

I came across SCL months ago but despite hours and hours of documentation reading and web browsing, I haven't yet found a way to have httpd24-http from SCL replace the standard httpd package, in the same way that mariadb packages are a drop-in replacement for mysql packages.

Is it possible to do without httpd from the default repository and instead have httpd24-httpd from SCL and how?

The thing that has me asking this question is that some packages (e.g. phpMyAdmin and roundcubemail) seem to not see the package from SCL and pull in httpd, which gets installed as a dependency.

I am still somehow confused as to whether Apache httpd (2.4.39 atm) from the SCL is a replacement or whether it's supposed to be installed alongside httpd (2.4.6 atm), in which case, I am wondering whether there is much use since both programs will try to bind to port 80 and port 443. I'm surely missing a few key points in understanding the SCL ecosystem, specifically concerning httpd or similar daemons.

EDIT I finally understood that the SCL version is to be installed alongside the standard httpd. Also, the standard http receives security backports, which answers my initial need.

4

1 回答 1

0

应该可以将 scl 中的 httpd 与标准 httpd 交换,我对 php 版本也做了同样的事情。scl 启用 httpd24 bash https://www.softwarecollections.org/en/scls/rhscl/httpd24/

我问自己同样的问题,因为我想为 centos 7 启用 TLS 1.3,但除了 httpd 之外,它还需要手动安装的 openssl 版本才能实现这一点。

于 2019-07-02T07:07:53.043 回答