Frequently Asked Question
CentOS Stream 8
dnf install cockpit -y systemctl enable cockpit.socket
- Run the following command to install the mandatory and default packages in the virtualization group:
# sudo dnf install @virt virt-top libguestfs-tools virt-install
Alternatively, to install the mandatory, default, and optional packages, run:
# sudo dnf group install --with-optional virtualization
- After the packages install, start the
libvirtd
service:# sudo systemctl start libvirtd
To start the service on boot, run:
sudo systemctl enable --now libvirtd # sudo systemctl enable libvirtd
CentOS 7yum install qemu-kvm libvirt libvirt-python virt-manager libguestfs-tools spice-vdagent -y
yum install qemu-kvm libvirt-bin bridge-utils qemu virt-viewer spice-vdagent
systemctl enable libvirtd
systemctl start libvirtd
Change Spice to any interface
Centos 6.5 x64 Minimal Installyum install kvm qemu-kvm python-virtinst libvirt libvirt-python virt-manager libguestfs-tools
chkconfig libvirtd on
service libvirtd start
yum install bridge-utils
Open Virt-Manager > click + > Bridge > br0 > Start Mode: onboot > Activate Now > Check eth0