Frequently Asked Question

How to setup a Virtual Server Host
Last Updated 5 months ago

CentOS Stream 8

dnf install cockpit -y
systemctl enable cockpit.socket
  1. 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
  2. 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 7

yum 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 Install



yum 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

Please Wait!

Please wait... it will take a second!