1) Download the httpd tar ball from httpd.apache.org/download.cgi
2) untar the tar ball tar -xvzf http….tar
3)create a directory apache by command mkdir /usr/local/apache
4) cd httpd-2.2
sudo apt-get install build-essential //for ubuntu
5)./configure –prefix=/usr/local/apache – -enable-module=so – -enable-rule=SHARED_CORE –enable-shared=max
6) Make
7)Make install
8)/usr/local/apache/bin/apachectl restart
9) http://localhost //this will give a apache welcome page.
Leave a comment