Changes

Jump to: navigation, search

OPS245 Lab 2 dev

60 bytes removed, 13:04, 29 January 2023
Part 1: Install KVM Virtualization Application
</source>'''NOTE:''' Do NOT press '''&lt;ctrl&gt;c''' since it may cause your machine to cause a kernel panic when you restart your machine.}}
<ol><li value="3">Using elevated privileges, install the virtualization software by issuing the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">sudo dnf install qemu-kvm qemu-img libvirt virt-manager libvirt libvirtpython3-python libvirt-client virt-install virt-viewer bridge-utils</span></code></b> <br><br></li>
<li>'''Restart your r9host virtual machine'''. If you fail to do this, you may experience virtualization network problems.
{| 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 '''libvirtdlibvirt''' that manages the VMs.</li><li>A graphical tool for managing virtual machines ('''virt-manager''') and the '''virsh''' command-line tool.</li></ul>}}
|}
</li><li>Start the virtualization service: <b><code><span style="color:#3366CC;font-size:1.2em;">sudo systemctl start libvirtdlibvirt</span></code></b><br><br>'''NOTE:''' The most recent variants of CentOS and Fedora are using a service called '''firewalld''' that replaces '''iptables''', however the ''iptables'' service is still in relatively common usage and knowing how to use it also works with firewalld. In this course we will concentrate on ''iptables''.<br><br></li>
<li>To disable and remove firewalld, issue the following commands:<br>
<b><code><span style="color:#3366CC;font-size:1.2em;">sudo systemctl disable firewalld</span></code></b><br>

Navigation menu