Qemu: Difference between revisions
Jump to navigation
Jump to search
(12 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
==Knowledge== | ==Knowledge== | ||
sudo apt install - | 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 | 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== | ==References== | ||
Line 31: | Line 54: | ||
* [https://superuser.com/questions/614941 Vagrant fails to create box with <code>libvirt</code>] | * [https://superuser.com/questions/614941 Vagrant fails to create box with <code>libvirt</code>] | ||
* [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]] | |||
* [[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
| ||