Benutzer-Werkzeuge

Webseiten-Werkzeuge


installation_kvm_qemu

Installation KVM / Qemu

Pakete Installieren

  sudo apt -y install qemu-kvm libvirt-daemon  bridge-utils virtinst libvirt-daemon-system
  

=== vhost_net module laden und aktivieren

  $ sudo modprobe vhost_net 
  $ lsmod | grep vhost
  vhost_net              24576  0
  tun                    49152  1 vhost_net
  vhost                  49152  1 vhost_net
  tap                    28672  1 vhost_net
  $ echo vhost_net | sudo tee -a /etc/modules 
  

nützliche Werkzeuge nachinstallieren

  sudo apt -y install virt-top libguestfs-tools libosinfo-bin  qemu-system virt-manager
  

KVM Bridge erstellen

/etc/network/interfaces anpassen

# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface
auto enp1s0
iface enp1s0 inet manual
 
# Bridge definitions
auto br1
iface br1 inet static
bridge_ports enp1s0
bridge_stp off
    address 192.168.16.2
    netmask 255.255.255.0
    network 192.168.16.0
    gateway 192.168.16.1
    dns-nameservers 192.168.16.9 192.168.16.1
    dns-search schubert.home

Server neustarten um die Änderungen zu übernehmen

installation_kvm_qemu.txt · Zuletzt geändert: von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki