linux_wiki:configure_a_physical_machine_to_host_virtual_guests

This is an old revision of the document!


Configure A Physical Machine To Host Virtual Guests

General Information

Yum groups can save you time, as long as you have access to a repo that has the groups defined. This may NOT be the case on an exam.


Install packages

yum install virt-install virt-manager qemu-kvm qemu-img
OR
yum groupinstall "Virtualization Client"
  • virt-manager is only needed if you want the GUI Virtual Machine Manager application.
  • qemu is the layer that allows for virtualization to work with KVM
  • KVM is built into the kernel and allows virtualization support


Libvirt packages

yum install libvirt libvirt-client libvirt-python
OR
yum groupinstall "Virtualization Platform"
  • libvirt packages allow interacting with virtual guests/managing virtual machines


Enable/Start libvirt

systemctl enable libvirtd
systemctl start libvirtd


Two ways to manage VMs

  • virt-manager ⇒ GUI
  • virsh ⇒ command line

  • linux_wiki/configure_a_physical_machine_to_host_virtual_guests.1521427706.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)