Apache is the most widely used Web Server application in the world with more than 50% share in the commercial web server market. Virtual hosting is one such feature that allows a single Apache Web Server to serve a number of different websites. The word, Apache, has been taken from the name of the Native American tribe ‘Apache’, famous for its skills in warfare and strategy making.
Installing apache from the source require the –devel package to be installed on your server. You can find the latest available version of Apache, you can download it here:
Once you download the source file move it to the /usr/local/src folder.
[root@haktuts ~] cd /usr/local/src
>Go to /usr/local/src directory
[root@haktuts ~] gzip -d httpd-2.2.26.tar.gz
>Apache file is archived with .tar.gz so first use gzip command to extract the data from gzip.
[root@ haktuts ~] tar xvf httpd-2.2.26.tar
>Now use tar command to extract the data from .tar archived file.
>The compilation of Apache within the /usr/local/apache directory with the DSO capability. The –enable-so option, can load required modules to apache at run time via the DSO mechanism rather than requiring a recompilation.