From the course: Virtualization: Configuring VMs Across Platforms with VMware, Hyper-V, VirtualBox, Vagrant, and KVM

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

KVM on Ubuntu

KVM on Ubuntu

- In this video, I'll show you how to work with KVM on Ubuntu desktop. So first you need to check if virtualization extensions have been enabled for your Ubuntu desktop environment. Sudo grep vmx /proc/cpuinfo should do that for you. And if that is giving you a result, and there we go, here we have the results, then you are good to start using virtualization. In order to use virtualization, you need to install a couple of things. And it's always a good idea to start by using sudo apt update to ensure that you have access to the latest and greatest packages that are available from the repositories. And if it doesn't give you much, like two packages can be upgraded, feel free to ignore that. You can use the appropriate commands to install everything. So what is everything? Well, everything that is QEMU KVM. That's a core KVM package. Virt-manager, which is the vertical machine manager. And the libvirt stuff, which is the libvirt interface, which is required to manage KVM. Just press…

Contents