su
commandyum -y install httpd
to install apacheinclude.conf
to correct comment out the line Include /etc/apache2/sysconfig.d/include.conf
in /etc/apache2/httpd.conf
. You do this by adding a #
sign in front of the line./usr/sbin/
and start httpd2
index.html
to the /srv/www/htdocs/
folder