Changes

Jump to: navigation, search

OPS235 Lab 2

546 bytes removed, 13:11, 29 August 2016
no edit summary
:'''Perform the following steps:'''
# Make certain that you are logged in as a '''<u>regular user</u>''' (i.e. NOT root) in Log into your home directory.# You will need c7host machine, and switch to download an image file for the Centos7 LIVE DVD by issuing the following command (best works while at Seneca):<br><b><code><span style="color:#3366CC;font-size:1.2em;">wget http://belmont.senecac.on.ca/centos/7/isos/x86_64/CentOS-7-x86_64-LiveGNOME-1511.iso</span></code></b><br>(If you are doing this at home: <code><span style="color:#3366CC;font-size:1.2em;">wget http://mirror.csclub.uwaterloo.ca/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1511root user.iso)</span></code><br><br>
# perform a software update on your '''c7host''' VM by issuing the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">yum update</span></code></b>
# As root, install the virtualization software by issuing the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python \<br>python-virtinst libvirt-client virt-install virt-viewer bridge-utils</span></code></b> <br><br>
{{Admon/note|About KVM|There are actually several key programs installed for virtualization using KVM:<ul><li>'''kvm/qemu''' - the hypervisor and other hardware emulation systems.</li><li>A system service named '''libvirtd''' that manages the VMs.</li><li>A graphical tool for managing virtual machines ('''virt-manager''') and the '''virsh''' command-line tool.</li></ul>}}
|}
<ol><li value="75">Start the virtualization service: <b><code><span style="color:#3366CC;font-size:1.2em;">systemctl start libvirtd</span></code></b><br><br>'''NOTE:''' The most recent variants of Centos and Fedora are using a service called '''firewalld''' that is intended to replace '''iptables''', however the ''iptables'' service is still in relatively common usage. In this course we will concentrate on ''iptables''.<br><br></li>
<li>To Disable firewalld issue the following commands:<br>
<b><code><span style="color:#3366CC;font-size:1.2em;">systemctl disable firewalld</span></code></b><br>
13,420
edits

Navigation menu