no edit summary
:'''Perform the following steps:'''
For this section, you will still be using your '''c7host''' and '''centos1''' VMs.# We will be bypassing a firewall that blocks http traffic. # In this investigation, '''c7host''' will be your '''http server ''' and '''centos1''' will be your <u>client</u>.# Use the '''hostname''' command to verify that you are in your centos1 VM (as opposed to another VM by mistake via ssh!) # On the HTTP server, make sure that the Apache web server is installed by typing the command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">rpm -q httpd</span></code></b> # If this is not installed, make sure to install '''httpd'''.
# 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.