Sunday, April 17, 2022

Install KVM on Ubuntu Jammy Jellyfish (Development branch)

 First run

$ sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager

Enable and start daemon libvirtd

$ sudo usermod -aG libvirt $USER
$ sudo usermod -aG kvm $USER

Set up WebCocpit Console 
 $ sudo vi  /etc/apt/sources.list
Add line
deb http://archive.ubuntu.com/ubuntu \
focal-backports main restricted universe multiverse
:wq
 $ sudo apt-get update
$ sudo apt install firewalld
$ sudo systemctl start firewalld
$ sudo systemctl enable firewalld
$ sudo systemctl status firewalld
$ sudo apt-get install -t focal-backports cockpit
$ sudo apt install -t focal-backports cockpit-machines
$ sudo systemctl start cockpit.socket
$ sudo systemctl status cockpit.socket
$ sudo systemctl enable cockpit.socket
$ sudo firewall-cmd --add-service=cockpit --permanent
$ sudo firewall-cmd --reload

 




KVM Hypervisor Host





















No comments:

Post a Comment