Qemu: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<source lang="bash"> sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients bridge-utils sudo systemctl enable --now libvirtd sudo systemctl...")
 
 
(13 intermediate revisions by the same user not shown)
Line 11: Line 11:


==Knowledge==
==Knowledge==
  sudo apt install -y cpu-checker
  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==
{|
{|
| valign="top" |
| valign="top" |
* [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.vagrantup.com/intro/vs/terraform Vagrant vs. Terraform]
* [https://www.vagrantup.com/intro/vs/terraform Vagrant vs. Terraform]
* [https://www.vagrantup.com/intro/vs/cli-tools Vagrant vs. CLI Tools]
* [https://www.vagrantup.com/intro/vs/cli-tools Vagrant vs. CLI Tools]
* [https://www.vagrantup.com/intro/vs/docker.html Vagrant vs. Docker]
* [https://www.vagrantup.com/intro/vs/docker.html Vagrant vs. Docker]
* [[Linux Containers]]
* [https://askubuntu.com/questions/138140/ Install Qemu]
* [https://askubuntu.com/questions/138140/ Install Qemu]
* [https://www.qemu.org/docs/master/about/index.html About Qemu]
* [https://www.qemu.org/docs/master/about/index.html About Qemu]
* [[Terraform]]
* [[Terraform]]
* [[Podman]]
* [[Vagrant]]
* [[Docker]]


| valign="top" |
| valign="top" |
* [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]
* [[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