Open main menu

CDOT Wiki β

Changes

OPS335 Installation Lab

18 bytes added, 14:42, 6 January 2016
no edit summary
#You will need to install some software to allow your machine to act as a host for virtual machines. Issue the following command:
'''yum install virt-manager libvirt'''
<ol><li value="2">Start and enable the virtualization service:</li></ol>
'''systemctl start libvirtd''' '''systemctl enable libvirtd'''
<ol><li value="3">Reboot your machine. If you do not, you will not be able to install any virtual machines.</li><li>Start the graphical virtual machine manager<ul><li>You will need to enter your root password.</li></ul><li>Create your own virtual network. A default virtual network has been created for you, but you will be using a custom one in this course.<ul type="a"><li>Right click '''localhost (QEMU)''' and select '''Details'''. Click on the '''Virtual Networks''' tab.</li><li>Stop and delete the '''default''' network.</li><li>Run, and record the output of the following command: '''iptables -t nat -L'''</li><li>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. 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 3 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 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></ul></li></ol>
13,420
edits