Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - CentOS7

63 bytes added, 12:28, 24 September 2018
no edit summary
[[Category:OPS235]]
 {{Admon/caution|THIS IS AN OLD VERSION OF THE LAB|'''This is an archived version. Do not use this in your OPS235 course.'''}}
= LAB PREPARATION =
# A window will appear with the title ''New VM''. There are five steps to be completed; click Forward after each step:
# '''Step 1 of 5:'''Select '''Local install media''' and click '''Forward'''.
# '''Step 2 of 5:''' Select '''Use ISO Image''', click the '''Browse''' button, and then the '''Browse Local''' button. Navigate to the location of the downloaded Centos7 LIVE CD image, select the image file and click '''Open'''. When finished, click Forward to proceed. If an error message appears regarding search permissions, just click '''yes''' to proceed.<br><br>'''NOTE:''' Select from the installation menu '''Troubleshooting''' and then select '''Install in Basic Graphics Mode'''.<br><br>
# '''Step 3 of 5:''' Set the memory to '''2048 MB''' and the number of CPUs to '''1'''
[[Image:vm-path.png|thumb|right|300px|It is extremely important to '''correctly specify the VM image file path-name'''. Double-check the spelling of the path-name before proceeding!]]
</ol>
::* In order to fully back up a virtual machine, what information should be saved in addition to the virtual machine image?
<ol><li value="24">A previous OPS235 student graciously created a shell script that you can download and run to check to see how you performed this lab (to see if you are on the right track).<br>Simply issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">wget http://matrix.senecac.on.ca/~murray.saul/ops235/lab2check2.bash</span></code></b> and run on your '''c7host machine'''.<br><br>'''If the shell script indicates any major errors, please inform your OPS235 instructor or lab assistant to advise what to do'''.<br><br></li></ol>
'''Answer the Investigation observations / questions in your lab log book.'''
'''Arrange proof of the following on the screen:'''
<ol><li><span style="color:green;font-size:1.5em;">&#x2713;</span> '''<u>All</u> VMs''':<blockquote><ul><li>Working virtual machines '''created''' and '''running'''</li><li>'''Disk layout''' and '''size''' correct on all virtual machines</li><li> Proof of '''yum updates'''</li><li>'''All virtual machines backed-up''' (eg. usb stick and/or home directory)</li></ul></blockquote></li><li><span style="color:green;font-size:1.5em;">&#x2713;</span>'''c7host''' machine:<blockquote><ul><li>'''Correct VM image filenames''' contained in '''/var/lib/libvirt/images directory'''</li><li>'''Disk layout''' and '''size''' correct on all virtual machines</li><li>Creation of your bash shell script called '''backupVM.bash'''</li><li>A list of your '''iptables''' rules(command: '''iptables -L''')</li></ul></blockquote></li><li><span style="color:green;font-size:1.5em;">&#x2713;</span> Lab2 logbook notes and '''Installation Comparison chart''' completed</li></ol>
== Practice For Quizzes, Tests, Midterm &amp; Final Exam ==