Qemu: Difference between revisions
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
'''qemu before start''' | '''qemu before start''' | ||
sudo systemctl disable --now virtualbox.service | |||
sudo systemctl disable virtualbox.service | |||
sudo systemctl enable virtlogd. | sudo systemctl enable --now libvirt-guests.service | ||
sudo systemctl | sudo systemctl enable --now virtlogd.service | ||
sudo systemctl enable --now libvirtd.service | |||
sudo systemctl enable libvirtd. | sudo systemctl enable --now virtlogd-admin.socket | ||
sudo systemctl | 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== | ==References== | ||
Line 51: | 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
| ||