Difference between revisions of "Install KVM in an Ubuntu Server"

From wikieduonline
Jump to navigation Jump to search
(removed not needed creation of user)
Line 1: Line 1:
 
Install [[KVM]] in an [[Ubuntu]] Server following https://help.ubuntu.com/community/KVM/Installation instructions for [[Ubuntu 18.10 LTS]]:
 
Install [[KVM]] in an [[Ubuntu]] Server following https://help.ubuntu.com/community/KVM/Installation instructions for [[Ubuntu 18.10 LTS]]:
  
* <code>sudo apt-get -y install [[qemu-kvm]] [[libvirt-daemon-system]] [[libvirt-clients]] [[bridge-utils]] [[virtinst]] && sudo adduser `id -un` kvm && [[virsh list --all]]</code>
+
* <code>sudo apt-get -y install [[qemu-kvm]] [[libvirt-daemon-system]] [[libvirt-clients]] [[bridge-utils]] [[virtinst]] && [[virsh list --all]]</code>
  
 
  virsh list --all
 
  virsh list --all

Revision as of 10:52, 22 January 2020

Install KVM in an Ubuntu Server following https://help.ubuntu.com/community/KVM/Installation instructions for Ubuntu 18.10 LTS:

virsh list --all
 Id    Name                           State
----------------------------------------------------


And create your fist guest machine from command line using virt-install python script.

virt-install --virt-type kvm --name buster-amd64 --memory 1G --cdrom ~/iso/Debian/debian-10.0.0-amd64-netinst.iso --disk size=10G --os-variant debian10


Optional software to install:


Packages

See also

Advertising: