![]() ![]() ![]() Sudo useradd -d /home/$KVM_USER -m $KVM_USERĮcho "$KVM_USER ALL=(ALL:ALL) ALL" | sudo tee -append /etc/sudoersĪlternatively, you could use the adduser $KVM_USER command instead of useradd as this will automatically prompt you for a password and set up a home directory Please choose one of either of the options below: Option 1 - Make Current User KVM Manager sudo usermod -append -groups libvirt $USERĪdd a subuser with sudo priviledges and a home directory: KVM_USER="kvm_user" Note: You will also need virt-viewer if you want to install via VNC another day.Īt this point we have a choice of creating a new user to manage the KVM virtual machines, or to make the current logged in user the manager. Install Packages sudo apt-get install qemu-kvm libvirt-bin bridge-utils virtinst -y Alternatively, run egrep -c '(svm|vmx)' /proc/cpuinfo and if it returns a number greater than 0, you should be fine.QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7)įirst, let's check that the machine you are trying to set up as a KVM host is compatible: sudo apt-get install cpu-checker -y.You cannot setup a KVM Hypervisor on a VPS, such as a Digital Ocean or AWS EC2 instance. ![]() Similar Postsįor the time being, you need a dedicated server, or your own physical machine. This tutorial will just cover installation, but feel free to read my other KVM tutorials as and when you need them, such as for installing guests and setting up a network bridge. This tutorial will turn your baremetal Ubuntu 16.04 server into a KVM host. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |