Changes

Jump to: navigation, search

OPS245 Lab 2

80 bytes removed, 14:35, 1 September 2021
m
Practice For Quizzes, Tests, Midterm & Final Exam
<ol><li value="4">Now, shut-down your centos1 VM normally, and close the centos1 VM window.</li><li>Switch to your terminal and issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">sudo virsh start centos1</span></code></b></li><li>Using the appropriate command check to see if your centos1 VM is now running.</li><li>There are other commands that can be used (such as '''suspend''', or '''shutdown'''). The "shutdown" command may not always work since it relies on the guest handling a particular ACPI event. Why do you think it is useful to have commands to manipulate VMs?</li></ol>
{{Admon/important|Virtual Machine Does not Shutdown from Command|If the Virtual machine fails to shutdown from the <code>virsh shutdown</code> command, then you can go to the '''Virtual Machine manager''' and '''halt''' or '''shutdown''' within the VM itself, then you can click the '''PowerOff''' button in the VM window. You'll want to avoid a forced shutdown since those are equivalent to yanking the power cord out of the wall on a physical machine!|}}
<br/><br/><br/><br/><br/><br/><br/>
'''Answer INVESTIGATION 3 observations / questions in your lab log book.'''
# List the steps to correctly restore your VMs from a USB disk to your c7host VM.
# How can you prompt the user for data and store into a variable?
# How do you perform mathematical operations in the Bash shell and within a Bash shell script?
# What is the difference between a determinant loop and an in-determinant loop?
# Show a few examples how loops can be used to error-check when prompting the user for data.
# What is the purpose of the '''&amp;&amp;''' and '''||''' symbols when used with logic?'
# What does the command '''rpm -qi centos-release''' do and why is it important?
# What is the difference between '''rpm -q centos-release''' and '''uname -a'''?
932
edits

Navigation menu