1,576
edits
Changes
Changes location of lab check script run (local user instead of root), and adds a number of minor aesthetic tweaks.
# Make certain that your '''c7host''' and '''centos3''' VMs are running.
# Switch to your <u>'''c7host'''</u> machine, open a shell terminalas a regular user, and use <b><code><span style="color:#3366CC;font-size:1.2em;">sudo -i</span></code></b> to switch to a root session.# Change change to the directory: '''/root~/bin'''# Issue Download the Linux commandLab 3 check script: <b><code><span style="color:#3366CC;font-size:1.2em;">wget https://ict.senecacollege.ca/~ops245/labs/lab3-check.bash</span></code></b>
# Give the '''lab3-check.bash''' file execute permissions (for the file owner).
# Run the shell script with <code>sudo</code>, and if any warningsappear, make fixes fix the issues noted by the script and re-run shell script rerun the check until you receive the "congratulationsCongratulations!" message.#Arrange proof of the following on the screen:<br><span style="color:green;font-size:1.5em;">✓</span> '''centos3''' VM:<blockquote><ul><li> Archived files '''created'''</li><li>Archive files '''restored'''</ul></blockquote><span style="color:green;font-size:1.5em;">✓</span> '''c7host''' Machine:<blockquote><ul><li> '''One repository added''' for yum</li><li>Run the '''lab3-check.bash''' script (must have all <b><code><span style="color:#66cc00;border:thin solid black;font-size:1.2em;"> OK </span></code></b> messages)</li></ul></blockquote><span style="color:green;font-size:1.5em;">✓</span> '''Lab3Lab 3''' log-book logbook pages filled out.#Upload a screen of the proof from the previous step, along with the file generated by '''lab3-check.bash''', your log book, and your '''tarchiver.py ''' script to blackboard.
= Practice For Quizzes, Tests, Midterm & Final Exam =