13,420
edits
Changes
→Part 1: Install KVM Virtualization Application
# Log into your c7host machine, and switch to root user.
# perform a software update on your '''c7host''' VM by issuing the following command: <b><code><span style="color:#C336699;font-size:1.2em;">yum update</span></code></b><br><br> {{Admon/important |Yum Update Hangs|If you experience yum update "hanging" around item 689 of over 1200 packages, issue the following commands:<br><source>pkill systemctl
yum clean all
yum update
</source>'''NOTE:''' Do NOT press '''<ctrl>c''' since it may cause your machine to cause a kernel panic when you restart your machine.}}
{| width="40%" align="right" cellpadding="10"
|- valign="top"
{{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><li value="7">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>