Kvm cli installation redhat 6

From Do you speak Drupalish? Featured Drupal wiki-like documentation
Jump to: navigation, search

Sources

Steps

  • https://access.redhat.com/certified-hypervisors check that it works your gust system
  • egrep '(vmx|svm)' --color=always /proc/cpuinfo
    • check cpu virtualization capacity
  • yum install qemu-kvm python-virtinst virt-manager virt-top virt-viewer libvirt libvirt-client
  • lsmod | grep kvm
    • kernel modules
  • df -h
    • choose partition bigger 75GB?
  • check ls /var/lib/libvirt/images/
    • should be empty
  • mkdir -p /var/home/qemu/images
  • chown -R qemu:qemu /var/home/qemu
  • chcon --reference /var/lib/libvirt/images/ /home/qemu
  • chcon --reference /var/lib/libvirt/images/ /home/qemu/images
  • rmdir /var/lib/libvirt/images/
  • ln -s /var/home/qemu/images/ /var/lib/libvirt/images
  • cd /var/lib/libvirt/
    • ls -l
  • service NetworkManager status
    • service NetworkManager stop
    • chkconfig NetworkManager off
    • chkconfig NetworkManager --list ( all level)

.... sorry see video https://www.youtube.com/watch?v=nVvHCb-ixF4, for the moment dropped for docker :)

More