Linux Mint 19 KVM Installation

August 25, 2018 | By the+gnu+linux+evangelist.

Setting Up

  1. 3. Installing KVM

    Now you are Ready to Install KVM on Ubuntu System

    sudo apt update
    sudo apt install qemu qemu-system qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

    Following Linux Mint Documentation about KVM related Packages:

    • libvirt-bin provides libvirtd which you need to administer qemu and kvm instances using libvirt
    • qemu & qemu-kvm (kvm in Karmic and earlier) are the backend
    • ubuntu-vm-builder powerful command line tool for building virtual machines
    • bridge-utils provides a bridge from your network to the virtual machines
  2. 4. Adding User to Group

    Next Add User to libvirt Group
    First, you need to Make the Group:

    sudo addgroup libvirtd

    And then Add User with:

    sudo adduser `id -un` libvirtd

    This because only the Users of this Group can Run Virtual Machines.
    Then Relogin to Enable this Setup!

  3. 5. Verifing KVM Installation

    Finally, Test Installation

    Simply performing:

    virsh list --all

    And in the Output you should find:

     Id    Name                           State
    ----------------------------------------------------

    This because still no VMs has been made.


QuickChic Theme • Powered by WordPress