Command What it does
cd /usr/src/apache-2.2 Change to the directory to which you saved the Apache source download.
tar –zxvf httpd-2.2.0.tar.gz Extract the contents of the downloaded file into a subdirectory named httpd-2.2.0.
cd httpd-2.2.0 Change to the new source directory.
./configure --prefix=/usr/local/apache

Install the web server to the directory identified by the prefix directive. This step may take quite some time as the installer checks for a number of items on your system.

I’m not including any other directives, but note that a standard Apache installation automatically includes a number of modules that, if you don’t want them, you need to individually exclude. Further, there are a number of modules that are disabled by default that have to be specifically included if you need the feature. A complete list of what is included and excluded is listed in
Table B.

make Compile Apache.
make install Copy the newly compiled binaries to the /usr/local/apache directory/ (and to other places on your system, as needed)
/usr/local/apache/bin/
apachectl start
Start Apache with its default configuration file.