• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

Do you like www.linuxnix.com ? Please consider supporting us by becoming a subscriber and get a Linux basics e-book for free.

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




Do you like www.linuxnix.com ? Please consider supporting us by becoming a subscriber and get a Linux basics e-book for free.
bySurendra On Sunday-December - 19 - 2010
  • jitendra Mishra

    I always use this site for any Linux issue & I informing another Linux lover to use this site

email newsletter

Redhat Flagship dist

Redhat announced that they are going to release RHEL7 by ...

12 examples to use f

Flower brackets examples This is a small post on how to ...

7 Linux read command

read command examples read command is useful in scripts when reading ...

7 linux sort command

Linux/Unix sort command examples This is a small tutorial on how ...

How to find command

How to find command location in Linux and Unix This is ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »