Thursday, January 30, 2014

Apache install and initial configure in CentOS 6.5

Follow below steps to install Apache and bring web server up in CentOS 6.5

# yum install httpd

Edit below file,

# vi /etc/httpd/conf/httpd.conf

and change below values,

ServerTokens Prod
ServerSignature Off

:wq (save and exit)

If you are not able to load default page, check whether index.html is available in document root or create one.

If you have index.html in document root then allow in iptables setting (find steps here)

That should do the trick!!!

No comments: