Install the required packages:

sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm

Download Ubuntu Server 22.04 ISO

Run the following command to download the ISO:

curl https://releases.ubuntu.com/22.04.2/ubuntu-22.04.2-live-server-amd64.iso --output ubuntu-22.04.2-live-server-amd64.iso

Move ISO to a directory

sudo su -
mkdir /ISOs
mv ubuntu-22.04.2-live-server-amd64.iso /ISOs/ubuntu-22.04.2-live-server-amd64.iso

Create a virtual machine

Our first step is to create a new virtual machine. Click Forward.

Create New Virtual Machine

Select the ISO you downloaded earlier. Click Forward.

Create New Virtual Machine

Choose the amount of memory and CPUs for the virtual machine. Click Forward.

Create New Virtual Machine

Select the size of the virtual disk and click Forward.

Create New Virtual Machine

Finally, name the virtual machine and ensure that your Bridge device is selected for the Network Selection. Click Finish.

Create New Virtual Machine