Installing Apache web server httpd manually

1. Download Apache Http server from Apache website (e.g httpd-2.2.13.tar.gz)


2. Unzip it with “tar” command.
tar xvfz httpd-2.2.13.tar.gz
 
3. Configure the folder location with “./configure” command.
  ./configure --prefix=/usr/local/apache --enable-shared=max

4. Build it with “make” command.
make
 

5. Install it with “install” command, you need “sudo” 
privileged for this installation. 
sudo make install
 
6. Done, all the Apache http server’s files and folders are located
 at /usr/local/apache