13,420
edits
Changes
no edit summary
# When ''httpd'' is properly installed, check the configuration of the service to see if it is automatically started at any run-levels by using the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">systemctl list-unit-files | grep httpd</span></code></b>
# If it has not been started automatically start the service using the '''service''' command to start the ''httpd'' service.
# It is also a good idea to enable the httpd service so it starts automatically from boot-up. To do this, issue the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">chkconfig httpd on</span></code></b>
# Issue a previous command to verify that the httpd service is enabled.
# Confirm that httpd is listening to TCP/80 using the '''netstat''' command.
# Create a small html document called '''/var/www/html/index.html''' that displays a short message.*