Changes

Jump to: navigation, search

OPS235 Lab 7

306 bytes removed, 10:25, 28 June 2016
no edit summary
# Switch to your '''c7host''' VM. This will be your web-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><br>(If this is not installed, make sure to install '''httpd''').
# When Issue the following commands to <u>start</u> and <u>enable</u> the '''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 start 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 systemctl enable httpd on</span></code></b># Issue a previous command to verify that the '''httpd ''' service is has been started and has been 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. If you do not know how to use HTML markup language, just type a simple text message...
12,769
edits

Navigation menu