Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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**. ---- ===== Installing and Starting KVM ===== Install packages for VM installs, hardware emulation, imaging * CLI packages<code bash>yum install virt-install qemu-kvm qemu-img</code> * virt-install: VM creation * qemu-kvm: Provides hardware emulation for the KVM hypervisor * qemu-img: Disk image utility * GUI packages<code bash>yum install virt-manager</code> * **virt-manager** is only needed if you want the GUI Virtual Machine Manager application to create/control VMs. * CLI and GUI packages group<code bash>yum groupinstall "Virtualization Client"</code> * Will install all of the above (and probably extras) \\ Management packages <code bash> yum install libvirt libvirt-client libvirt-python OR yum groupinstall "Virtualization Platform" </code> * libvirt packages allow interacting with virtual guests/managing virtual machines * libvirt: Interact with virtualization via an API * libvirt-client: Client binaries to access virtualization (provides virsh CLI VM management utility) * libvirt-python: Module for Python programs to access virtualization \\ Enable/Start libvirtd - Daemon required to manage virtualization <code bash> systemctl enable libvirtd systemctl start libvirtd </code> \\ Two ways to manage VMs * virt-manager => GUI * virsh => command line ---- linux_wiki/configure_a_physical_machine_to_host_virtual_guests.txt Last modified: 2019/05/25 23:50(external edit)