x
= LAB 1 SIGN-OFF (SHOW INSTRUCTOR) =
[[Image:lab1_signoff.png|thumb|right|450px|Students should be prepared with '''all required commands (system information) displayed in a terminal (or multiple terminals) prior to calling the instructor for signoff'''.]]
Shell scripting is <u>so essential</u> for Linux administration that this course has created a shell script for every lab for this course that a student must download and run in order to check their work.
If you have performed the lab correctly, then you will get a series of <b><code><span style="color:#66cc00;border:thin solid black;font-size:1.2em;"> OK </span></code></b> messages and you can proceed with the SIGN-OFF for lab1. On the other hand, if there were errors, then a <b><code><span style="color:#ff0000;border:thin solid black;font-size:1.2em;"> WARNING </span></code></b> message will appear with general suggestions that you will need to fix on your c7hostVM in order to have your OPS235 sign-off in this lab in order to proceed to the next lab.
:'''Perform the Following Steps:'''
# Make certain that your '''c7host''' VM is running, open the Bash Shell terminal and issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">su -</span></code></b> and enter root's password.<br><br>
# Change to the '''/root/bin''' directory.<br><br>
#Download the checking script by issuing the following Linux command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">wget https://ict.senecacollege.ca/~ops235/labs/lab1-check.bash</span></code></b><br><br>
# Give that downloaded shell script file execute permissions (for the file owner).<br><br>'''FYI:''' Your checking script will not work unless you issued "'''su -'''" instead of just "'''su'''".<br><br>
# Run the shell script and if any warnings, make fixes and re-run shell script until you receive "congratulations" message.<br><br>
#Arrange evidence (command output) for each of these items on your screen, then ask your instructor to review them and sign off on the lab's completion:
::<span style="color:green;font-size:1.5em;">✓</span> Run the '''lab1-check.bash''' script in front of your instructor (must have all <span style="color:#66cc00;border:thin solid black;font-size:1.2em;"> OK </span> messages)
::<span style="color:green;font-size:1.5em;">✓</span> Proof that c7host VM is set for '''virtualization''' (Refer to: '''INVESTIGATION 1''' - '''Part 1''' - '''Step #29''')
::<span style="color:green;font-size:1.5em;">✓</span> '''Lab1 logbook''' containing the values for:
:::* '''IP address''', '''MAC address''', '''Default route (gateway)''' and<br>'''DNS name server IP Address'''
= Practice For Quizzes, Tests, Midterm & Final Exam =