Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_router:qemu [2023-01-26 Thu wk04 08:41] – [Virt-manager client setup] baumkplinux_router:qemu [2024-05-18 Sat wk20 17:59] (current) baumkp
Line 1: Line 1:
 +{{tag>linux router VM}}
 ======Router VM====== ======Router VM======
 I have just decided to play with installing VM (virtual machines) on my Router hardware (2023-01).  I have been reluctant to do this for a number of reasons.  My separate listing for [[linux_router:hardware]].  Basically the machine is a bit old slow and under powered.  Still basically adequate for what it does.  I do not run a desktop on this machine, CLI (Command Line Interface only).  The main services I am currently running on this machine are, all bare metal: I have just decided to play with installing VM (virtual machines) on my Router hardware (2023-01).  I have been reluctant to do this for a number of reasons.  My separate listing for [[linux_router:hardware]].  Basically the machine is a bit old slow and under powered.  Still basically adequate for what it does.  I do not run a desktop on this machine, CLI (Command Line Interface only).  The main services I am currently running on this machine are, all bare metal:
Line 26: Line 27:
 =====VM Setup===== =====VM Setup=====
 I decided to try QEMU/KVM setup as follows: I decided to try QEMU/KVM setup as follows:
-  *''sudo apt install qemu qemu-system-x86 qemu-system qemu-utils libvirt-clients libvirt-daemon-system virtinst'' (qemu-kvm is now call / replaced by qemu-system-x86 in Debian 11, presumably only for x86 systems) +  *''%%sudo apt install qemu-system qemu-system-x86 qemu-utils libvirt-clients libvirt-daemon libvirt-daemon-system virtinst --no-install-recommends%%''
-  *''sudo apt install libvirt-daemon''  +
-  *''sudo apt install qemu-system '' +
-I did not install libguestfs-tools, as I did not think I would need it +
-  *''sudo apt install libvirt-bin''+
  
 +====package descriptions====
 +In most cases details these packages can be seen at [[https://www.debian.org/distrib/packages|Debian Packages]].
 +++++tldr;|
 +  *''qemu'' - [[https://wiki.qemu.org/Main_Page|QEMU]]  is a generic and open source machine emulator and virtualiser, and is now a dummy package, it no longer works on Debian 12.
 +  *<fs small>''qemu-kvm'' - was made a wrapper script to qemu-system and is now redundant</fs>
 +  *''qemu-system'' is a meta package that call the correct system pack, e.g. qemu-system-x86 (qemu-kvm is now call / replaced by qemu-system-x86 in Debian 11)
 +  *''qemu-system-x86'' is the actual system peripheral emulator and virtualiser for x86 systems
 +    *''qemu-utils'' provides utilities for QEMU disk activities
 +  *''libvirt-daemon'' - daemon libvirtd to manage the hypervisors
 +    *''libvirt-daemon-system'' - configuration files to run the libvirt daemon as a system service
 +  *''libvirt-clients'' - contains the libvirt shell virsh and other client binaries
 +  *''virtinst'' - utilities to create and edit virtual machines
 +  *''libspice-server1'' - Implements the server side of the SPICE protocol
 +  *''virt-viewer'' - The console is accessed using the VNC or SPICE protocol. (Client software)
 +  *''virt-manager'' - desktop application for managing virtual machines. (Client software)
 +  *''libspice-client-gtk-3.0-5'' - libspice-gtk3 provides gtk3 widget to show spice display and accept user input.  (Client software)
 +++++
  
-====Virt-manager client setup==== + 
 +====Virt-manager remote client setup==== 
   *''%%sudo apt install virt-manager ssh-askpass-gnome --no-install-recommends%%''   *''%%sudo apt install virt-manager ssh-askpass-gnome --no-install-recommends%%''
   *''%%virt-manager -c 'qemu+ssh://baumkp@router.local.kptree.net/system?keyfile=id_rsa'%%''   *''%%virt-manager -c 'qemu+ssh://baumkp@router.local.kptree.net/system?keyfile=id_rsa'%%''
-  *;;sudo apt install gir1.2-spiceclientgtk-3.0''+  *''sudo apt install gir1.2-spiceclientgtk-3.0''
 =====References===== =====References=====
   *[[https://fabianlee.org/2019/02/16/kvm-virt-manager-to-connect-to-a-remote-console-using-qemussh/|KVM: virt-manager to connect to a remote console using qemu+ssh]]   *[[https://fabianlee.org/2019/02/16/kvm-virt-manager-to-connect-to-a-remote-console-using-qemussh/|KVM: virt-manager to connect to a remote console using qemu+ssh]]
   *[[https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604|How To Set Up SSH Keys on Ubuntu 16.04]]   *[[https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604|How To Set Up SSH Keys on Ubuntu 16.04]]
  
-<-  linux_router:nmap|Prev page ^ linux_router:start|Start page ^ ->+<-  linux_router:ipv6|Prev page ^ linux_router:start|Start page ^ ->
  • /app/www/public/data/attic/linux_router/qemu.1674693704.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:44
  • (external edit)