Apache web server installation or httpd installation

Below are easy steps to install and launch apache web server or httpd.

First login as root.

Check previous installation of apache web server or httpd :

# rpm –qa|grep httpd

# yum remove httpd

Compile apache web server or httpd :

# tar zxvf httpd-2.2.3.tar.gz -go to the directory where the was downloaded.

# cd httpd-2.2.3.tar.gz

# ./configure –prefix=/usr/local/apache2 –enable-rewrite –enable-module=all –enable-shared=max

# make

# make install

Test Apache web server or httpd installation :

# /usr/local/apache2/bin/apachectl start

then open your internet browser, type the following on the address :

http://localhost or http://127.0.0.1


Leave a Reply