fir3net

PPS-Firenetbanner-780.5x190-30-03-17

Installing Apache 2.2 from Source

Below details the basic steps required to compile Apache 2.2 upon a CentOS based distro.

Update System

yum install gcc

Download Source

cd /var/tmp/
wget http://mirror.ox.ac.uk/sites/rsync.apache.org//httpd/httpd-2.2.19.tar.gz

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