1. Install the packages required for running http server

yum install httpd

2. Restart the service and enable at boot up

service httpd restart

chkconfig httpd on

3.  Create a Sample html file named index.html under /var/www/html

4. Go to your browser and type http://(ip-address)

5. Your http server must be up and running. The page you just created must appear.