Configure a Physical Machine to Host Virtual Guests Flashcards
1
Q
Install virtual machine manager
A
kvm is enabled by default in physical machine
qemu what enables virtualization
1. yum install virt-manager
2. yum install qemu-kvm qemu-img
3. yum install libvirt libvirt-python python-virtinst libvirt-client
libvirt is a tool that allows to interact with kvm and qemu tools
python-virtinst
2
Q
Setup Virtual Machine Manager VMM to run at boot
A
systemctl enable libvirtd
systemctl start libvirtd
3
Q
CLI for virt interactive terminal
A
virsh
4
Q
Add new virt machine in Virtual Machine Manager VMM
A
- File- New VM
- Local install media (iso image or cdrom)
next steps are obvious
5
Q
Set up VM to launch at boot
A
1. enable libvirtd systemctl enable libvirtd 2. virsh virsh> list --all 3. virsh> autostart vm-name 4. reboot