The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To install the Apache HTTP server:
Enter the following command:
#
yum install httpd
Start the server, and configure it to start after system reboots:
#
service httpd start
#chkconfig httpd on
Check for configuration errors:
#
service httpd configtest
Create firewall rules to allow access to the ports on which the HTTP server listens, for example:
#
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
#service iptables save