Langsung ke konten utama

How to Install Configure and Create Virtual Machine on Ubuntu with KVM

1Check whether CPU has hardware virtualization support.

KVM only works if your CPU has hardware virtualization support – 
either Intel VT-x or AMD-V. To determine whether your CPU includes these features, 
run the following command:

#sudo grep -c "svm\|vmx" /proc/cpuinfo

A 0 indicates that your CPU doesn’t support hardware virtualization, 
while a 1 or more indicates that it does.


2Install KVM and supporting packages. 

Virt-Manager is a graphical application for managing your virtual machines — 
you can use the kvm command directly, but libvirt and Virt-Manager simplify the process.

#sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager

3Create User.

Only the root user and users in the libvirtd group have permission to use KVM virtual machines. 
Run the following command to add your user account to the libvirtd group:

#sudo adduser saju  
#sudo adduser saju libvirtd

After running this command, log out and log back in as saju 

4Check whether everything is working correctly. 

Run following command after logging back in as saju and you should see an empty list of virtual machines. 
This indicates that everything is working correctly.

#virsh -c qemu:///system list

5Open Virtual Machine Manager application and Create Virtual Machine

#virt-manager

http://virt-tools.org/
http://virt-manager.org/


Komentar

Postingan populer dari blog ini

Telegram for Linux PC or Laptop

Now you can use "telegram" in your Linux PC or Laptop Download it from here : https://telegram.org/

Cara Merubah Grub Boot loader pada Ubuntu, Linux Mint dll

Untuk merubah Grub Boot order atau urutan Boot pada awal komputer dinyalakan kita bisa menggunakan aplikasi GUI yang mudah digunakan yang disebut Grub Customizer. Seperti namanya, kita bisa melakukan lebih dari sekedar menyusun ulang entri menu GRUB dengannya. Anda bisa menginstalnya dengan cara, buka Terminal Window lalu ketik : Sudo add-apt-repository ppa: danielrichter2007 / grub-customizer Sudo apt-get update Sudo apt-get install grub-customizer