Cara Install KVM di Fedora 26

Hi Guys, posting berikut merupkan bagaimana cara install KVM di fedora 25/26

  1. Cek apakah cek hardware mesin yang kita pakai terdapat dukungan virtualisasi
    1. Login Super User
    2. # egrep '(vmx|svm)' /proc/cpuinfo
      Jika terdapat output 
      
      
  2. Mulai install KVM dengan perintah
    1. # dnf groupinstall "Virtualization"
      # dnf install qemu-img  libvirt libvirt-python libvirt-client
      
      keterangan
      • qemu-kvm = emulator QEMU
      • qemu-img = disk image QEMU
      • virt-install = tool command line untuk membuat virtual machines.
      • libvirt = Menyediakan services libvirtd untuk megelola virtual machines dan mengontrol hypervisor.
      • libvirt-client = Menyediakan client side API’s untuk meng-akses server dan juga menyediakan tool comand line Virsh untuk mengelola virtual machine.
      • virt-viewer – Konsol mode Grafis

       

  3. Start create virtual machine
    1. virt-install  --name=kafka  --ram=1024  --vcpus=1  
      --cdrom=/tmp/CentOS-6.5-x86_64-minimal.iso --os-type=linux 
      --os-variant=rhel6  --network bridge=br0 --graphics=spice  
      --disk path=/var/lib/libvirt/images/kafka.dsk,size=4



This entry was posted on Friday, November 3rd, 2017 at 1:12 pm and is filed under DevOps. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Your comment