Tutorial KVM(QEMU)

Source : Researchgate

What is KVM
What is KVM? KVM (Kernel Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, which provides core infrastructure and certain processor virtualization modules, KVM-intel.ko or KVM-amd.ko. The QEMU KVM also needs to be modified even though work is underway to get the necessary changes. Source

It’s easy, just like virtualbox, it’s just easier. Yes, just go straight to the installation method.

The first
The first as usual, the cache update first

sudo apt-get update
Then

sudo apt-get install -y qemu-kvm qemu virt-manager virt-viewer libvirt-bin
qemu-kvm = Kernel-based Virtual machine, QEMU uses it for CPU virtualization.
qemu = CPU emulator
virt-viewer = for the GUI
The second
Install KVM, and virt manager

sudo virt-install –name = name –ram = 1024 –vcpus = 1 –cdrom = / var / lib / libvirt / images / CentOS-6.9-x86_64-minimal.iso –os-type = linux – disk path = / var / lib / libvirt / images / itzgeekguest.dsk, size = 4
–Name – Name the Virtual Machine as you like

-Ram – The amount of RAM in MB (adjust it to your RAM, if you have 4GB do not make more than that, it’s impossible. Because he took it from your original RAM)

-Vcpus – How much is the CPU (Just like RAM, if your CPU is just dual-core, don’t make it quad-core)

–Cdrom – The location of the ISO OS that you want to install

-Os-type – Type of OS such as: Linux, Windows, and Unix

-Os-variant – OS variant like RHEL 6 (If I’m emptied, because I mean it: D)

-Network – Networking (I also leave this blank, so he will set the default later)

–Graphics – Guest display settings (I also blank)

-Disk path – The location where we want to make, at least 4 GB

Well, later you will popup like this:

Instead, I took it from where I saw the tutorial:

Now, if we have installed it, we can open the virt-manager so that it is easy. Virt-manager is the GUI, so we just have to set the settings there to make it easier

Thank you
Maybe that’s what I can write this time, as usual, criticism & suggestions are needed in my writing to be better in the future. So, you can contact me via Twitter, Instagram, which is listed at the bottom of my website, or on the criticisms & suggestions menu which is right on the top of my web.

Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *