KVM: Kernel-Based Virtual Machine
Products | Company |
---|---|
VirtualBox | Oracle |
VMWare | VMWare |
Hyper-V | Microsoft |
First, use x86 laptop or pc.
# check if kvm avaiable (output should bigger than 0)
egrep -c '(vmx|svm)' /proc/cpuinfo
if output is 0, enable vt on BIOS.
Install KVM on fedora36
# Install required virtualization packages
sudo dnf -y install bridge-utils libvirt virt-install qemu-kvm
# Also install useful tools for virtual machine management
sudo dnf -y install libvirt-devel virt-top libguestfs-tools guestfs-tools
- qemu-kvm: the emulator itself
- libvirt-daemon: runs virtualization in background
- birdge-utils: important networking dependencies
- virt-manager: the graphical program we’ll use to work with our VMs
sudo usermod -aG libvirt aimer
sudo usermod -aG kvm aimer
sudo systemctl start libvirtd
sudo systemctl enable libvirtd
Virtual Machine Manager (or “virt-manager”)
# Install Virtual machine Manager GUI
sudo dnf -y install virt-manager