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
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
[[email protected] 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)
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
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:
AlphaPrep Practice Tests - Free Trial