


Using Oracle’s free VirtualBox software, setting up a virtual machine (VM) on your own PC is super easy, safe and allows you to run multiple operating systems at the same time!Ī virtual machine is like having a computer inside your computer.

Each VM has its own operating system (OS) that works separately from the host OS. Through hardware virtualization, another operating system shares your host computer’s resources. It may take a while depending on your virtual machine configuration.Īt this point, the KVM virtual machine should be created.A virtual machine is like having a computer inside your computer.

Once you run the virt-install command, KVM should start creating the virtual machine. That’s basically all the options you need to create a KVM virtual machine. So, the virtual machine will be able to boot from the Ubuntu Server 20.04 LTS ISO image and install Ubuntu Server 20.04 LTS on the hard drive. The first boot entry is the virtual CD/DVD ROM and then the virtual hard drive. Set’s the boot order of the virtual machine. Use the Ubuntu Server 20.04 LTS ISO image we have just downloaded as the virtual CD/DVD ROM of the virtual machine and used for installing Ubuntu Server 20.04 LTS on the virtual machine. This will make virtual machines perform better. Use full virtualization for the virtual machine. The virtual machine will keep running in the background. Ubuntu 20.04 LTS KVM host won’t automatically try to connect to the virtual machine once the virtual machine is created. The virtual machine will be accessible via VNC (Virtual Network Computing) remote desktop protocol, and the VNC server will be listening on all available network interfaces configured on your Ubuntu 20.04 LTS KVM host. The virtual disk is about 10 GB in size, and the format is QCOW2 (QEMU Copy-On-Write v2) The virtual disk of the VM will be saved in the /kvm/disk/server-01.img file. The RAM (Random Access Memory) of the VM will be 1024 MB (Megabytes).
