Below details the basic steps required to compile Apache 2.2 upon a CentOS based distro.
Table of Contents
Update System
yum install gcc
Download Source
cd /var/tmp/
wget
Unzip / Untar
gunzip httpd-2.2.19.tar.gz
mkdir httpd
cd httpd
tar -xvf ../httpd-2.2.19.tar
cd httpd-2.2.19/
Compile
./configure
make
Install
make install
Confirm Install
[root@localhost httpd-2.2.19]# /usr/local/apache2/bin/apachectl -v
Server version: Apache/2.2.19 (Unix)
Server built: Jul 10 2011 17:59:10
Latest posts by Rick Donato (see all)
- NETCONF & YANG: Automate Network Configs via Python - April 2, 2026
- Palo Alto – How to Configure Your Next-Generation Firewall - April 2, 2026
- How to Harden Linux SSH: Keys, Fail2ban & Ciphers - March 1, 2026
Want to become a Linux expert ?
Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
Delta Practice Tests