Changes

Jump to: navigation, search

OPS335 Installation Lab draft

630 bytes removed, 06:57, 9 January 2016
Configuring a VM host
#* Install the software you need
#* Start and enable the virtualization service
#* Reboot# Start the graphical virtual machine manager (''virt-manager''). Do this as you regular user, don't run virt-manager from a terminal where you're logged in as root.
# We will be creating our own virtual network. A default virtual network has been created for you, but you will be using a <u>custom</u> one in this course.
#* Right click '''localhost (QEMU)''' and select '''Details'''.
#* Click on the '''Virtual Networks''' tab.
#* Stop and delete the '''default''' network.
#* Use the '''plus sign''' to add a new virtual network using the following options:
#** Name your virtual network '''ops335'''
#** Use the '''last two digits of your student number for the third octet of network IP address''' (for example, if your student number is 000-000-0<b>90</b>, the network address would be 192.168.<b>90</b>.0/24.
#** Ensure the DHCP range will allow you to assign '''at least 10 static IP addresses outside it'''.
#** Choose '''Forwarding to physical network''' radio button, '''Destination: Any physical device''' and '''Mode: NAT'''
#** Ensure the network is '''started at boot'''.
</li><li>Run, and record the output of the following command:</li></ul></li></ol> '''iptables -t nat -L'''<ol><li value="6">Use the '''plus sign''' to add a new virtual network using the following options.<ol type="a"><li>Name your virtual network '''ops335'''</li><li>Use the '''last two digits of your student number for the third octet of network IP address''' (for example, if your student number is 000-000-0<b>90</b>, the network address would be 192.168.<b>90</b>.0/24.</li><li>Ensure the DHCP range will allow you to assign '''at least 10 static IP addresses outside it'''.</li><li>Choose '''Forwarding to physical network''' radio button, '''Destination: Any physical device''' and '''Mode: NAT'''</li><li>Ensure the network is '''started at boot'''.</li></ol></li><li>Once completed changing these settings, open a terminal and observe and record the output of the following command (noting the difference from the last time you ran it. We will discuss it in a few weeks):</li></ol> '''iptables -t nat -L'''  With the virtualization software installed and your personal network created, you are now ready to create your first virtual machine. If To do that you have an installation DVD 'll need the ISO file for Fedora CentOS (the same one you can use that, but it will be much faster to download the iso burned your DVD from belmont and install directly from it. '''wget http://belmont.senecacollege.ca/pub/fedora/releases/21/Server/x86_64/iso/Fedora-Server-DVD-x86_64-21.iso''' If it has not been made available use You should keep one somewhere on your host for the publicly available link: '''wget --no-check-certificate https://downloadrest of this course.fedoraproject.org/pub/fedora/linux/releases/22/Server/x86_64/iso/Fedora-Server-DVD-x86_64-22.iso'''
===Installation===

Navigation menu