Open main menu

CDOT Wiki β

Changes

OPS245 Lab 2

No change in size, 13:35, 1 June 2021
m
Part 3: Using Shell Scripts for VM Backup & Management
<ol>
<li value="15">Save, set permissions, and then run that shell script to backup centos1. Since that script will only work if you are have root permissions, you will need to use the technique you learned earlier in this lab to run the command with elevated privileges. Confirm that this script did backup this image to your home directory</li><li>Use the <b><code>wget</code></b> command to download, study, and run the following shell scripts on-line:<blockquote><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">https://ict.senecacollege.ca/~ops235ops245/labs/vm-start-text.bash<br>https://ict.senecacollege.ca/~ops235ops245/labs/vm-stop-text.bash</span></code></b><br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">https://ict.senecacollege.ca/~ops235ops245/labs/vm-start.bash<br>https://ict.senecacollege.ca/~ops235ops245/labs/vm-stop.bash</span></code></b></blockquote></li><li>Try to understand what these Bash Shell scripts do.</li></ol>