13,420
edits
Changes
no edit summary
===Download Backing up Virtual Machines to a USB Key ==={{Admon/caution|VMs MUST be Backed up to USB key before Leaving Seneca Labs|It is absolutely essential that you backup your virtual machine image to USB key after completing your virtual machine session at Seneca Labs, or you will lose your work! Make certain to PROPERLY follow the instructions to copy and archive the required files to your USB key as opposed to using your USB key directly, which can cause problems.}} As mentioned above, you need to backup your VM image files for ALL of your virtual machines that you create in Seneca's computer labs via a USB key to restore and Run Lab1 Checking Scriptcontinue your virtual machine sessions in future lab sessions. You can also move a virtual machine created in a host to another host for VM Workstation. For example, you can move saved image files to your home computer to complete labs, etc. Students can download the license key for VM Workstation 12 - refer to the following link for details: [ link ] '''Backing Up VM to a USB Key:''' '''Perform the following Steps:''' #Determine the location that contains your centos1 virtual machine files. Here are some common locations for various Operating Systems: <table cellspacing="0" cellpadding="5" width="70%" style="border-top: thin solid black;margin-left:45px;"> <tr valign="top> <td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">'''Operating System (Platform)'''</td> <td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">'''Pathname'''</td> </tr> <tr valign="top"> <td width="30%" style="border-bottom: thin solid black;">'''Windows'''</td> <td style="border-bottom: thin solid black;">'''C:\Users\username\My Documents\My Virtual Machines\<code></code>'''</td> </tr> <tr valign="top"> <td width="30%" style="border-bottom: thin solid black;">'''Linux'''</td> <td style="border-bottom: thin solid black;">'''/home/userid/vmware'''</td> </tr> <tr valign="top"> <td width="30%" style="border-bottom: thin solid black;">'''Mac OS/X'''</td> <td style="border-bottom: thin solid black;"></td> </tr> </table> [[Image:moved.png|thumb|right|300px|When starting the VM, you need to respond to the system prompt to confirm that you moved the VM to another platform.]]<ol><li value="2">Create a zipped archive of the centos1 directory contained in the VM storage location (noted in step1).</li><li>Copy the zipped archive to your USB key.</li></ol> '''Restoring a VM from a USB Key:''' :Perform the following Steps: <ol><li value="4">To move work to your computer system running VMware Workstation, copy the archived file from your USB key to the appropriate VM storage location.</li><li>Restore the archived file</li><li>Launch the other VMware Workstation.</li><li>Select '''File''' -> '''Open''' -> '''Browse''' to select the VM image in the centos1 subdirectory and a file labeled: '''centos1.vmx'''</li><li>When starting the VM, you need to respond to the system prompt to confirm that you moved the VM to another platform.<br><br></li><li>Proceed to Investigation 2 to obtain basic information from your newly installed centos1 virtual machine.</li></ol>
= LAB 1 SIGN-OFF (SHOW INSTRUCTOR) =
===Download and Run Lab1 Checking Script===
Shell scripting is so essential 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:#00ff00;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;font-size:1.2em;">WARNING</span></code></b> message will appear with general suggestions that you will need to fix on your centos1 VM in order to have your OPS235 sign-off in this lab in order to proceed to the next lab.
[[Image:lab1_signoff.png|thumb|right|500px|Students should be prepared with '''all required commands (system information) displayed in a terminal (or multiple terminals) prior to calling the instructor for signoff'''.]]
'''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:'''