Install KVM in an Ubuntu Server
Jump to navigation
Jump to search
Install KVM in an Ubuntu Server following https://help.ubuntu.com/community/KVM/Installation instructions for Ubuntu 18.10 LTS:
sudo apt-get -y install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst && sudo adduser `id -un` kvm && virsh list --all
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:
apt-get install virt-top
apt-get install libguestfs-tools
Packages
qemu-kvm
, provideskvm
binary and requiresqemu-system-x86
packagelibvirt-daemon-system
libvirt-clients
, providesvirsh
client and virt-adminbridge-utils
virtinst
See also
Advertising: