update apache 2.2 to apache 2.4 on centos 6.4 - 64bit [duplicate] - apache

This question already has answers here:
Upgrade Apache 2.2 -> 2.4
(5 answers)
Closed 8 years ago.
Hi please tell me process for update apache 2.2 to 2.4
I command yum install httpd and install it 2.2
OS- centos 6.4 Final to 64 bits

The base install of CentOS is built with the idea of stability in mind over getting the latest version. See http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac835c7
For this reason, Apache 2.4 is not available via the standard yum repositories.
However, you can do a manual install (which I try to avoid), or use a repository such as the one created by Jan Kaluza that allows you to install an instance of Apache 2.4 . For more information, see http://developerblog.redhat.com/2013/10/24/apache-httpd-2-4-on-red-hat-enterprise-linux-6/
There may be some other good repositories that you could use to get a clean version of 2.4 installed but this is what I know about.

Do yum list httpd* from the output select the version 2.4 archive and install it using yum install NAME

Related

Error when trying to install mod_jk - Centos 8

I'm a Digitalocean user and I'm trying to migrate mi infraestructre from Centos 7 to Centos 8
It implies moving DBs (mysql), set a Web Server and Java.
One of the steps is installing Apache and Tomcat making use of mod_jk.
All the steps I will describe end in a complete succes in Centos 7 but fails in Centos 8
The way i got Java installed was by a RPM package I downloaded from oracle itself.
# java -version
java version "14.0.1" 2020-04-14
Java(TM) SE Runtime Environment (build 14.0.1+7)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
These are all the steps I follow.
# dnf install httpd
#cd /tmp
# wget https://apache.zero.com.ar/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.48-src.tar.gz
# cd tomcat-connectors-1.2.48-src/native
# dnf install httpd-devel
# dnf install make
# dnf install libtool
# which apxs
/usr/bin/apxs
In this directory there's the file "BUILDING.txt" with instructions to install which I follow.
It looks like this.
# ./configure --with-apxs=/usr/bin/apxs
# make
And here there is seem to be the problem.
Some "redhat" directory not found in Centos.
Error when executing 'Make' screenshot
The next would be
# make install
But is fails in Centos 8
Does anyone know how to solve this?
Thanks in advance.
You need to install redhat-rpm-config. Install redhat-rpm-config and test.
yum install redhat-rpm-config

Install Apache 2.2 on Ubuntu 14.04.1 LTS

I want to install apache 2.2 on Ubuntu 14.04. I have checked available versions using sudo apt-cache madison ^apache2 but only 2.4.x versions are available.
I want to do and get this done by Anything from adding new repos etc.
I need apache 2.2 for testing some issues, So can not go with Apache 2.4.

How to setup php-fpm on CentOS 7?

There are a lot of guides out there about setup php-fpm for Apache on CentOS 5x or 6x but none of them are working on Centos 7. I searched for days but can't find any solution.
yum install php-fpm
This command succesfully working.
But then i stuck with this line:
yum install mod_fastcgi
The error is "There is no package as mod_fastcgi"
Is there any mod_fastcgi module compatible with CentOS 7? If so, how can i complete php-fpm setup? Please guide me.
My server have some trouble about memory usage. So i have to optimize Apache. Here is my "top" result.
Deploy PHP with FastCGI
If you are using PHP code with your application, you will need to implement “PHP-FastCGI” in order to allow Nginx to properly handle and parse PHP code. You can install this via YUM from the EPEL repository that was previously installed:
yum install php-cli php spawn-fcgi

How upgrade Apache from 2.2.22 to 2.4 on Debian 7 64bit?

It's possible to upgrade Apache from 2.2.22 to 2.4 on Debian 7 64bit?
I have installed Debian 7 + Apache days ago and it installed Apache 2.2.22..isn't it an old and insecure version?
How can I upgrade to Apache 2.4?
Apache 2.2.22 is the stable distribution for Debian 7
You will need to compile Apache from source code. Debian doesn't automatically update its software in stable (or wheezy); there's a reason why it's the stable distribution but it is possible.
Another way:
deb http://ftp.de.debian.org/debian sid main
onto /etc/apt/sources.list
apt-get update
apt-get -t sid install apache2

Can't install libqt4-webkit on CENTOS 5.6 x86_64 [duplicate]

This question already has answers here:
Trouble installing Cutycapt on CentOS [closed]
(3 answers)
Closed 2 years ago.
I want to install CutyCapt to capture screenshots from websites, on my server!
I need to install libqt first,
But I cant install it. I I run the command bellow
yum install subversion libqt4-webkit libqt4-dev
I get this:
root#server [/downloads]# yum install subversion libqt4-webkit libqt4-dev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package subversion-1.6.11-7.el5_6.4.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.i386 already installed and latest version
No package libqt4-webkit available.
No package libqt4-dev available.
Nothing to do
Thanks!
If you check the answers, you'll see this:
New Qt4.4 Packages are available
for CentOS (EL5 Distros) in this repo:
http://packages.atrpms.net/dist/el5/
You need to add this repository to your package repository list. Otherwise you can't get the packages.