我在CentOS中需要Apache 2.4,因为mod_proxy_wstunnel
无法使用Apache 2.2 。我已经尝试过了,但是不幸的是,对于RHEL。安装后,我无法执行Apache 2.4。
谁能告诉我如何在CentOS中安装完整的Apache 2.4吗?
编辑:
# yum list installed | grep httpd
Failed to set locale, defaulting to C
httpd.x86_64 2.2.15-30.el6.centos @updates
httpd-tools.x86_64 2.2.15-30.el6.centos @updates
httpd24.x86_64 1-6.el6 @epel-httpd24
httpd24-apr.x86_64 1.4.8-2.el6 @epel-httpd24
httpd24-apr-util.x86_64 1.5.2-5.el6 @epel-httpd24
httpd24-httpd.x86_64 2.4.6-5.el6 @epel-httpd24
httpd24-httpd-tools.x86_64 2.4.6-5.el6 @epel-httpd24
httpd24-mod_ssl.x86_64 1:2.4.6-5.el6 @epel-httpd24
httpd24-runtime.x86_64 1-6.el6 @epel-httpd24
1
试试unix.stackexchange.com/questions/121001/…–
—
garethTheRed
您将需要运行yum install httpd24-httpd,如何安装它来代替发行版附带的Apache 2.2.15,这样我就可以安装更新并使用它,
httpd
而不必httpd24-httpd
使用service start
and stop
命令?
最简单的方法是安装SCL版本,如下所述:unix.stackexchange.com/questions/412122/...
—
CpnCrunch