How to install KVM server on Debian Linux 9 Headless Server

Posted on in Categories , , last updated May 8, 2018

Kernel-based Virtual Machine (KVM) is a virtualization module for the Linux kernel that turns it into a hypervisor. How can I install KVM with bridged networking, setup guest operating system as the back-end virtualization technology for non-graphic Debain Linux 9.x server?
Continue reading “How to install KVM server on Debian Linux 9 Headless Server”

How to add ssh key to qcow2 Linux cloud images using virt-sysprep

Posted on in Categories , , , , last updated December 28, 2017

I have installed and setup KVM server on an Ubuntu Linux. I downloaded various .qcow2 cloud images. How do I setup public ssh keys for downloaded CentOS/FreeBSD/Ubuntu cloud images using virt-sysprep?
Continue reading “How to add ssh key to qcow2 Linux cloud images using virt-sysprep”

How to forcefully shutdown a guest VM using virsh command on Linux KVM

Posted on in Categories , , , , , , last updated February 26, 2017

I used the command ‘virsh shutdown vm1’ to shut down a guest named vm1 using the virsh command. However, it is still running, and my vm1 is not responding to an ssh session. Is there is a way to forcefully stop or kill a guest VM using the virsh command from host server?