How to install VMM on Ubuntu 16.04

How to install VMM on Ubuntu 16.04

The Virtual Machine Manager is a desktop-driven virtual machine manager which users can manage virtual machines. It can be used to view and control each of the VM' s console and also check the performance and utilization statistics for each VM. This tutorial covers the installation process of VMM on Ubuntu.

Installation procedure

To start the installation process, first add the repo in the target system and execute the following command.

root@linuxhelp1:~# add-apt-repository ppa:atareao/atareao
Applications from atareao
More info: https://launchpad.net/~atareao/+archive/ubuntu/atareao
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpolawt5mj/secring.gpg'  created
gpg: keyring `/tmp/tmpolawt5mj/pubring.gpg'  created
gpg: requesting key 36FD5529 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpolawt5mj/trustdb.gpg: trustdb created
gpg: key 36FD5529: public key " Launchpad PPA for atareao"  imported
gpg: Total number processed: 1
gpg:imported: 1(RSA: 1)
OK

The repositories are added successfully. Now update the repo using the apt-get update command.

root@linuxhelp1:~# apt-get update
Get:1 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease [17.5 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:6 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main amd64 Packages [6,296 B]
Get:7 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main i386 Packages [6,288 B]
Get:8 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main Translation-en [3,348 B]
Fetched 33.5 kB in 1s (17.8 kB/s)
Reading package lists... Done

The target system is updated with the required repositories. Install the VMM package by running the following command.

root@linuxhelp1:~# apt-get install vmm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python3-dateutil
Use ' sudo apt autoremove'  to remove it.
The following additional packages will be installed:
dovecot-core dovecot-lmtpd dovecot-pgsql libpq5 ntpdate postfix postfix-pgsql postgresql-client postgresql-client-9.5
postgresql-client-common
Suggested packages:
ntp dovecot-gssapi dovecot-sieve dovecot-mysql dovecot-sqlite dovecot-ldap dovecot-imapd dovecot-pop3d dovecot-managesieved
dovecot-solr procmail postfix-mysql postfix-ldap postfix-pcre sasl2-bin postfix-cdb postfix-doc postgresql-9.5 postgresql-doc-9.5
The following NEW packages will be installed:
dovecot-core dovecot-lmtpd dovecot-pgsql libpq5 ntpdate postfix postfix-pgsql postgresql-client postgresql-client-9.5
postgresql-client-common vmm
0 upgraded, 11 newly installed, 0 to remove and 475 not upgraded.
Need to get 4,735 kB of archives.
.
.
.
Setting up vmm (0.6.2-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Processing triggers for dovecot-core (1:2.2.22-1ubuntu2.4) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

For using the package and to know more about the options that can be used with the VMM, execute the following command and the list of options appears in the terminal.

root@linuxhelp1:~# vmm help
List of available subcommands:
aliasaddcreate a new alias e-mail address with one or more destinations
aliasdeletedelete the specified alias e-mail address or one of its destinations
aliasdomainaddcreate a new alias for an existing domain
aliasdomaindeletedelete the specified alias domain
aliasdomaininfoshow the destination of the given alias domain
aliasdomainswitchassign the given alias domain to an other domain
aliasinfoshow the destination(s) of the specified alias
catchalladdadd one or more catch-all destinations for a domain
catchalldeletedelete the specified catch-all destination or all of a domain' s destinations
catchallinfoshow the catch-all destination(s) of the specified domain
configgetshow the actual value of the configuration option
domainaddcreate a new domain
domaindeletedelete the given domain and all its alias domains
domaininfodisplay information about the given domain
domainnoteset, update or delete the note of the given domain
domainquotaupdate the quota limit of the specified domain
domainservicesenables the specified services and disables all not specified services of the given domain
domaintransportupdate the transport of the specified domain
getuserget the address of the user with the given UID
helpshow a help overview or help for the given subcommand
listaddresseslist all addresses or search for addresses by pattern
listaliaseslist all aliases or search for aliases by pattern
listdomainslist all domains or search for domains by pattern
listpwschemeslists all usable password schemes and password encoding suffixes
listrelocatedlist all relocated users or search for relocated users by pattern
listuserslist all user accounts or search for accounts by pattern
relocatedaddcreate a new record for a relocated user
relocateddeletedelete the record of the relocated user
relocatedinfoprint information about a relocated user
useraddcreate a new e-mail user with the given address
userdeletedelete the specified user
userinfodisplay information about the given address
usernameset, update or delete the real name for an address
usernoteset, update or delete the note of the given address
userpasswordupdate the password for the given address
userquotaupdate the quota limit for the given address
userservicesenables the specified services and disables all not specified services
usertransportupdate the transport of the given address
versionshow version and copyright information

To remove the VMM package from the system, execute the following command and press y to continue with the uninstallation process.

root@linuxhelp1:~# apt-get install vmm -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python3-dateutil
Use ' sudo apt autoremove'  to remove it.
The following NEW packages will be installed:
vmm
0 upgraded, 1 newly installed, 0 to remove and 475 not upgraded.
Need to get 0 B/88.5 kB of archives.
After this operation, 542 kB of additional disk space will be used.
Selecting previously unselected package vmm.
(Reading database ... 177765 files and directories currently installed.)
Preparing to unpack .../archives/vmm_0.6.2-1_all.deb ...
Unpacking vmm (0.6.2-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up vmm (0.6.2-1) ...

Wasn' t that an easy installation process? The VMM uses KVM, Xen or QEMU virtual machines running either locally or remotely and also uses LXC containers.

FAQ
Q
what is the use of installing vmm in ubuntu?
A
The Virtual Machine Manager is a desktop-driven virtual machine manager which users can manage virtual machines. It can be used to view and control each of the VM' s console and also check the performance and utilization statistics for each VM
Q
where i can remove the vmm in ubuntu?
A
To remove the VMM package from the system, execute the following command
# apt-get remove vmm -y
Q
Can I manage clustered hosts with VMM?
A
VMM supports host clustering and can manage clustered virtual machines. If both the source and the destination host are managed by VMM, then VMM detects host changes and updates displays in t
Q
Does VMM support virtual to physical (V2P) conversions?
A
No. VMM not support Depending on customer demand, partners might offer V2P conversions at a later time.
Q
What are the software and hardware requirements for hosts in VMM?
A
For detailed information, see System Requirements (http://go.microsoft.com/fwlink/?LinkId=69926)