Install Apache HTTP Server on Linux


  • Required Packages as prerequisites

glibc-headers-2.5-58
glibc-2.5-58
glibc-devel-2.5-58
glibc-common-2.5-58
glibc-devel-2.5-58
glibc-kernheaders-2.5-58
glibc-utils

  • Download and Copy apache binary and extract it on Linux machine
Steps to Install HTTPD 

1. go to HTTPD directory
2. #./configure
3. #make
4. #make install

Test whether it has been installed successfully or not  : 

In browser provide below link 
http://localhost:80 ----It will show "IT WORKS"

Start Apache Server

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

Stop Apache Server

# /usr/local/apache2/bin/apachectl stop

Location of Apache configuration file

#more /usr/local/apache2/conf/httpd.conf

No comments:

Post a Comment