CoolGeeks101

We make geeks cool, one class at a time

We make geeks cool, one class at a time

  • HOME
  • HOW TO
    • Applications
    • Infrastructure
  • COOL STUFF
  • COOL PLACES
  • BREAK TIME
  • ABOUT
    • FAQ
    • Privacy Policy for CoolGeeks101.com
    • Terms of Service

Installing Virtual Machine Manager

Installing Virtual Machine Manager

Here we are installing Virtual Machine Manager (VMM) on Linux Mint 18.1 to provide easier remote administration of our KVM server.

The example KVM server used here is named ubuntu-mockup and our desktop is named mint-mockup. All of the shell commands given in this guide are executed on mint-vm unless indicated otherwise.

First, login to the Linux Mint GUI desktop, open a terminal session, and use apt-get to install the virt-manager package. Make sure the user you are logged in with has sudo privileges to run apt-get

1
sudo apt-get install virt-manager


SSH key-based authentication

To make connections to the KVM server easier, it is best to setup SSH access through keys. If needed, here is an example of how to do that. Make sure the username user already exists on the remote server.

If you already have a keypair in your user/.ssh directory, you do not need to run the ssh-keygen command.

1
2
ssh-keygen
ssh-copy-id user@ubuntu-mockup

You might need to access your Ubuntu Server by IP address instead of host name.

You will also need to give user permissions to manage the remote KVM server. This assumes user has sudo rights. If not, run this command on the remote server with a user that does.

Run this command on ubuntu-mockup

1
sudo usermod -aG libvirtd user


Starting VMM

You can start VMM from within the Linux Mint Cinnamon desktop menu under “Administration”

You can also add it to the desktop panel by right-clicking on the “Virtual Machine Manager” menu item and choosing “Add to panel”

Now we have a super duper awesome panel button to start VMM.

A default instance of VMM with no local KVM capability will show this unnecessarily long error message. Disregard. Since we are running VMM on a client desktop, this is expected.

If you have a local KVM instance correctly configured, then VMM will be able to manage it right away and will not show this error message.

There are some default preferences that should be changed. These will make easier in the future to setup and use VMs created with VMM.

The defaults are reasonable for the users not yet schooled by CoolGeeks.

But changing to these settings will help by connecting to VM consoles in a more compatible manner and providing the best compromise on CPU capabilities.

There you go. Now you can manage your remote KVM server from the safety of your own desktop OS.

Maybe now you would like to make a connection to your remote KVM server

 

RESOURCES

Homepage for the development of Virtual Machine Manager

CoolGeeks thinks Linux Mint is the Best Desktop Linux Ever

OpenSSH makes the world a better place

Public key authentication is not really that complicated

Filed Under: Infrastructure Tagged With: vmm, kvm, ubuntu, mint, linux, ssh, pki, vnc
December 3, 2017

Trackbacks

  1. How to Install Ubuntu 18.04 18.10 to an USB 3.1 M.2 16GB Drive Using KVM – Jeffrey Pine Hein says:
    November 17, 2018 at 11:59 pm

    […] a KVM example of a bootable USB drive, we will use Virtual Machine Manager to create a new virtual machine. It appears that when using KVM, we do not need to adjust […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Recent Blog Post

  • ZFS root on Ubuntu with LUKS encryptionZFS root on Ubuntu with LUKS encryption and USB boot

Supported Browsers

 

Sponsored Link

Sponsored Link


· Copyright © 2015–2019 · CoolGeeks101.com · Content owned by Generation Tech. All Rights Reserved ·     Log in