Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

https://fedoraproject.org/wiki/Getting_started_with_virtualization

 

dnf group install -y --with-optional virtualization
systemctl start libvirtd
systemctl enable libvirtd
Verify that the kvm kernel modules were properly loaded:
# lsmod | grep kvm
kvm_amd                55563  0 
kvm                   419458  1 kvm_amd

Configure "Bridged" Networking so VM's have access to LAN:

https://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29

 

chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network start
sudo sh -c 'echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eth0'
cat > ifcfg-br0 <<EOF
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no
EOF
service network restart
cat >> /etc/sysctl.conf <<EOF
 net.bridge.bridge-nf-call-ip6tables = 0
 net.bridge.bridge-nf-call-iptables = 0
 net.bridge.bridge-nf-call-arptables = 0
 EOF
sysctl -p /etc/sysctl.conf
brctl show

virsh is a command line interface that can be used to create, destroy, stop start and edit virtual machines and configure the virtual environment (such as virtual networks etc)

virt-install is a command line tool that simplifies the process of creating a virtual machine.

virt-manager is a GUI that can be used to create, destroy, stop, start and edit virtual machines and configure the virtual environment (such as virtual networks etc).

 

  • No labels