Here
are the steps to install and configure Apache WebServer on Cent OS :
- Install Apache HTTP Server (By default Cent OS comes with Apache)
- yum install httpd
- Set to Chkconfig to start on boot
- chkconfig --level 235 httpd on
- Uncomment below line from configuration(/etc/httpd/conf/httpd.conf) file
- NameVirtualHost *:80
- Restart Apache Http Server
- service httpd restart
- Verify Apache Server
- Goto your browser and check localhost or localhost.localdomain It will display Apache Test Page