MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 2 as of 2024-01-30 23:20:49
  • kvm

Contents

  1. kvm
    1. Debian bookworm

kvm

Debian bookworm

   1 sudo apt update
   2 sudo apt upgrade 
   3 egrep -c '(vmx|svm)' /proc/cpuinfo
   4 grep -E --color '(vmx|svm)' /proc/cpuinfo
   5 sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon
   6 sudo apt install virt-manager -y
   7 sudo virsh net-list --all
   8 sudo virsh net-start default
   9 sudo virsh net-autostart default
  10 sudo modprobe vhost_net
  11 lsmod | grep vhost
  12 ip a | grep wlp2s0
  13 /sbin/ifconfig
  14 sudo nano /etc/network/interfaces
  15 # add an IP in the network range 
  16 auto br0
  17 iface br0 inet dhcp
  18         bridge_ports wlp2s0
  19 
  20 sudo systemctl restart networking.service
  21 
  22 # create VM disk 
  23 qemu-img create -f qcow2 /var/lib/libvirt/images/netbsd.qcow2 8G
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01