13,420
edits
Changes
no edit summary
# Make certain that you are logged in as a regular user (i.e. NOT root) in your home directory.
# You will need 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, try: <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-1511.iso)</span></code><br><br>
#You must perform a software update''' on your '''c7host''' machine before proceeding with the next steps. # Login as root and issue the following command:<br><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/important|Restart your Host Machine|You must restart your '''c7host''' machine after installing the virtualization program above. If you fail to do this, you may experience virtualization network problems.<br><br>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="78">Start the virtualization service: <b><code><span style="color:#3366CC;font-size:1.2em;">systemctl start libvirtd</span></code></b><br><br></li></ol>
:'''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>
<ol><li value="8">To Disable firewalld issue the following commands:<br>