technical:24.04_kvm_virtual_host_installation
24.04 KVM Virtual Host Installation
Install a few helper utils (Make sure Virtualization is enabled in the bios)
apt install qemu-kvm libvirt-clients libvirt-daemon-system
Check all is ok with a
kvm-ok
After installing Windows WSL and Virtual Manager you can set up SSH key login to enable virtual manager to connect nicely.
ssh-keygen (you may need to run this command 1st if you don't have a keypair, (VM machine) ssh-copy-id username@solaris.scottworld.net
You will need to also add a line to the .bash shell config to let virtual machine manager save its settings.
nano ~/.bashrc
Add this line
export $(dbus-launch)
Start up virtual machine manager and check connection
Configure Network
Right click host --> details --> Virtual Networks
The click the + button in the bottom left
<network connections="1"> <name>VMBridge</name> <forward mode="bridge"/> <bridge name="br0"/> </network>
Setup the virtual storage by clicking the storage tab
Select Logical LVM Volume Group to create the pool.
You can copy ISO images to the disk and then add a pool pointing to that location so the VMs can then use ISOs.
technical/24.04_kvm_virtual_host_installation.txt · Last modified: 2024/10/12 21:14 by wikiadmin