Apache Server Installation On Redhat Linux


How we can install Apache web server on Redhat linux?
Ans : The simplest way to install Apache on redhat machine is to use yum command. 


Follow below steps : 
To install and check if the web server is running with default test page.


Step1: Check if the package is installed or not


#rpm -qa | grep httpd


Step2 : Install the package if you did not get any output


#yum install httpd


Step3 : Now start the apache service


#service httpd restart


Step4 : On the service at booting time


#chkconfig httpd on


Step5 : Check if the web server is running or not by accessing local host


#elinks localhost


or 


Access localhost from browser


When you access the server through browser red-hat Linux will present you with a test page as shown below




  • Like the post? Please Subscribe to free RSS feed to get updates
  • Related Posts by Categories



    0 comments:

    Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here