Open main menu

CDOT Wiki β

Changes

OPS245 Lab 2 dev

91 bytes removed, 12:13, 29 January 2023
Part 1: Install KVM Virtualization Application
{{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 '''libvirt''' 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 libvirtd</span></code></b><br><br>'''NOTE:''' The most recent variants of CentOS and Fedora are using RHEL a service called '''firewalldnftables''' that replaces '''iptablesfirewalld''', however the ''iptablesfirewalld'' service is still in relatively common usage and knowing how active by default. Firewalld rules are translated by the kernel into nftables rules. Therefore, it makes sense to use it also works with firewalldlearn nftables. In this course we will concentrate on ''iptablesnftables''.<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>
<b><code><span style="color:#3366CC;font-size:1.2em;">sudo yum remove firewalld</span></code></b><br>
<br></li>
<li>To install start and enable the IPTables nftables services, issue the following commands:<br><b><code><span style="color:#3366CC;font-size:1.2em;">sudo yum install iptables-services</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">sudo systemctl enable iptablesnftables</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">sudo systemctl start iptablesnftables</span></code></b><br><br>
</li>
</ol>