How to Install Apache Httpd Server on RHEL 6

In this post, i will show on how to install Apache Httpd server on Redhat Enterprise Linux 6 (RHEL 6). The Apache HTTP Server is an open-source HTTP server for modern operating systems such as Unix, Linux and windows platform. This post assumed that you have set up local yum repository using your DVDROM. If you haven’t set up the local yum repository, please proceed to this steps :
How to Setup Local Yum Repository from CD-ROM/DVD-ROM image on RHEL 6

[root@rhel6 ~]# yum install httpd -y
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package httpd.i686 0:2.2.15-5.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package           Arch             Version                  Repository                        Size
====================================================================================================
Installing:
 httpd             i686             2.2.15-5.el6             DVD-RHEL6-Repository             813 k

Transaction Summary
====================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 813 k
Installed size: 2.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : httpd-2.2.15-5.el6.i686                                                      1/1

Installed:
  httpd.i686 0:2.2.15-5.el6

Complete!

Command to start Httpd service :

[root@rhel6 ~]# service httpd start
Starting httpd:                                            [  OK  ]
Command to stop Httpd service :

[root@rhel6 ~]# service httpd stop
Stopping httpd:                                            [  OK  ]
Command to restart Httpd service :

[root@rhel6 ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Make Apache Httpd service auto start at boot :

[root@rhel6 ~]# chkconfig httpd on