Changes

Jump to: navigation, search

OPS335 Installation Lab

33 bytes removed, 15:58, 4 May 2016
m
Removing c7 from names as it just makes it harder to update these pages when we switch to a new OS.
<li value=4>Customize your installation following these guidelines:
<ul>
<li>'''Turn on networking''' and use '''c7hosthost''' as the '''hostname'''.
<li>Under software selection, choose '''Gnome desktop'''.
<li>The partition setup is similar to what you had in OPS235:
<li>Click the link to '''create partitions automatically''' (this will give a typical layout with /, /boot, /boot/efi, /home, etc).
<li>Free up at least 100GB of disk space by shrinking the '''/home''' partition (40 GB for /home). Since your machine will have far fewer users and more virtual machines than a typical installation, we will need that space elsewhere.
<li>Create a new logical volume for '''/var/lib/libvirt/images''' and give it the space made available by shrinking /home (You will need enough space for 10 virtual machines at 8GB 10GB each plus room to compress/extract images).
<li>Make certain that the existing partitions have the file system type '''ext4''' (not xfs).
</ul>
With the virtualization software installed and your personal network created, you are now ready to create your first virtual machine. You will need an ISO file for CentOS 7 (the same one you burned your DVD from). It is recommended to use the command:<br> '''<span style="text-decoration:none;color:blue;">wget http://belmont.senecacollege.ca/pub/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1511.iso</span>''' to download this image onto your host machine. In this way, you can keep it on your host machine for the remainder of this course in case you need it.
Perform the following steps to create your first Centos7 VM on your Virtual Machine Manager application:
# Create a new virtual machine named '''c7-vm1'''.
# Accept the default file type (which is '''qcow'''). You are <u>NOT</u> required to specify the VM file pathname as you did in OPS235.
===Cloning a Virtual Machine===
# Now that you have one virtual machine working, you will create two more. If you struggled with the previous steps, repeat them to create two more virtual machines (naming them '''c7-vm2''' and '''c7-vm3''', with hostnames '''vm2.localdomain''' and '''vm3.localdomain''' respectively).
<ol>
<li value="2">'''If you are confident with what you have done so far, you may clone your existing machine to create the others by performing the following steps:'''</li>
<ol type="a">
<li>Make certain that your ''c7-vm1'' virtual machine is shutdown.</li><li>In the virtual machine manager, '''right click''' on ''c7-vm1'' and select '''Clone...'''.</li><li>Set the Name to be: '''c7-vm2'''</li></ol></li>
<li>Once successfully created, boot the new VM and correct the host name. This can be done using the '''hostnamectl''' command-line tool.</li></ol>
<ol><li value="4">Record in your notes how each is done.</li>
<li>Use the host command to check for connectivity</li>
<li>After creating c7-vm2 repeat the above steps to create c7-vm3 and correct the host name.</li>
</ol>
932
edits

Navigation menu