Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updating numbered headings



We also use CentOS 7 on the real machines. This makes life easier, because we only need to know CentOS config style. Of cause you could use other Linux distribution on the real host.

1.1. 1. Step: Install CentOS 7


1.2. 2. Step: Install KVM

Required packages:

Code Block
languagebash
cat << EOF > /etc/yum.repos.d/qemu-kvm-rhev.repo
[qemu-kvm-rhev]
name=oVirt rebuilds of qemu-kvm-rhev
baseurl=http://resources.ovirt.org/pub/ovirt-3.5/rpm/el7Server/ mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-3.5-el7Server
enabled=1
skip_if_unavailable=1
gpgcheck=0
EOF

yum install qemu-kvm-rhev libvirt bridge-utils
#
qemu-img is not needed

Start libvirt:

Code Block
languagebash
systemctl start libvirtd
systemctl enable libvirtd


Info
title

1.2.1. Install KVM real machine

This is a excellent article on how to setup the real host system: https://www.linuxtechi.com/install-kvm-hypervisor-on-centos-7-and-rhel-7/


1.3. Download CentOS 7

https://www.centos.org/download/


Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttp://youtube.com/watch?v=smmHUmwr7Io
height300px