Qemu: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:


  '''qemu before start'''  
  '''qemu before start'''  
sudo systemctl stop    virtualbox.service
  sudo systemctl disable --now virtualbox.service
  sudo systemctl disable virtualbox.service
   
   
  sudo systemctl enable  virtlogd.socket
  sudo systemctl enable  --now libvirt-guests.service
  sudo systemctl start  virtlogd.service
sudo systemctl enable  --now virtlogd.service
  sudo systemctl enable  --now libvirtd.service
   
   
  sudo systemctl enable  libvirtd.service
  sudo systemctl enable  --now virtlogd-admin.socket
  sudo systemctl start  libvirtd.service
  sudo systemctl enable  --now virtlogd.socket
   
   
  sudo systemctl enable libvirt-guests.service
  sudo systemctl enable --now libvirtd-admin.socket
  sudo systemctl start libvirt-guests.service
sudo systemctl enable  --now libvirtd-ro.socket
  sudo systemctl enable  --now libvirtd.socket


==References==
==References==
Line 54: Line 55:
* [https://www.linuxtechi.com/how-to-install-kvm-on-ubuntu-22-04/ Install KVM on Ubuntu 22.04]
* [https://www.linuxtechi.com/how-to-install-kvm-on-ubuntu-22-04/ Install KVM on Ubuntu 22.04]
* [[VirtualBox]]
* [[VirtualBox]]
* [[Multipass]]
* [[Proxmox]]
* [[Juju]]


| valign="top" |
| valign="top" |

Latest revision as of 23:26, 28 November 2023

sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients bridge-utils
sudo systemctl enable --now libvirtd
sudo systemctl start libvirtd

sudo usermod -aG libvirt $USER
sudo usermod -aG kvm $USER
newgrp libvirt
newgrp kvm

Knowledge

sudo apt install qemu-system
sudo apt install cpu-checker
sudo systemctl stop libvirtd.socket
sudo systemctl stop libvirtd.service
sudo systemctl status virtlogd.socket
sudo systemctl status virtlogd.service
qemu-system-i386 -net user -cdrom my_iso.iso
kvm-ok
qemu before start 
sudo systemctl disable --now virtualbox.service

sudo systemctl enable  --now libvirt-guests.service 
sudo systemctl enable  --now virtlogd.service
sudo systemctl enable  --now libvirtd.service

sudo systemctl enable  --now virtlogd-admin.socket
sudo systemctl enable  --now virtlogd.socket

sudo systemctl enable  --now libvirtd-admin.socket
sudo systemctl enable  --now libvirtd-ro.socket
sudo systemctl enable  --now libvirtd.socket

References