Changes

Jump to: navigation, search

OPS245 Lab 5

4 bytes removed, 13:43, 16 February 2021
m
LAB 5 SIGN-OFF (SHOW INSTRUCTOR): - Moving away from using root for everything.
# Make certain that your '''c7host''' and '''centos2''' VMs are running.
# Switch to your '''c7host''' machine.
# Open a shell terminal, '''su -''' into root, and change to the your user's '''/root/bin''' directory., open a shell terminal
# Issue the Linux command: <b><code><span style="color:#3366CC;font-size:1.2em;">wget https://ict.senecacollege.ca/~peter.callaghan/ops245/labs/lab5-check.bash</span></code></b>
# Give the '''lab5-check.bash''' file execute permissions (for the file owner).
# Run the shell script (with elevated permissions) and if there are any warnings, make fixes and re-run shell script until you receive "congratulations" message.#Arrange proof of the following on the screen:<br><blockquote><span style="color:green;font-size:1.5em;">&#x2713;</span> '''centos2''' VM:<blockquote><ul><li>Output from '''sudo ssm list''' command.</li><li>Proof that '''/archive''' has been mounted</li></ul></blockquote><span style="color:green;font-size:1.5em;">&#x2713;</span> '''c7host''' Machine:<blockquote><ul><li>Proof of creation of the shell script: '''monitor-disk-space.bash'''</li><li>Crontab entry for '''root''' account</li><li>Run the '''lab5-check.bash''' script in front of your instructor (must have all <b><code><span style="color:#66cc00;border:thin solid black;font-size:1.2em;">&nbsp;OK&nbsp;</span></code></b> messages)</li></ul></blockquote><span style="color:green;font-size:1.5em;">&#x2713;</span> '''Lab5''' log-book filled out.
#Upload a screen of the proof from the previous step, along with the file generated by '''lab5-check.bash''', and your disk-monitior.bash script to blackboard.
932
edits

Navigation menu