Cover of the document KVM — Guide pratique
Explanatory document Free In French Édition 2026

KVM — Guide pratique

Install, deploy and manage virtual machines on Ubuntu Server 26.04 LTS

Free hands-on guide to installing KVM on Ubuntu Server 26.04 LTS, then deploying, managing and automating virtual machines with libvirt and Open vSwitch.

Free access, no sign-up required.

About this document

KVM is the hypervisor at the heart of OpenStack, Proxmox VE and Nutanix AHV. This hands-on guide teaches you to master it directly, without an abstraction layer, so you understand what happens under the hood of these platforms.

The guide follows a system administrator's complete journey: preparing the installation media, installing Ubuntu Server 26.04 LTS on a physical server, setting up KVM, libvirt and Open vSwitch, then deploying, managing, backing up and automating virtual machines.

Every concept is put into practice through guided exercises, all performed on a real lab with actual command output. The guide is written in French for system administrators, infrastructure engineers and anyone getting started with Linux virtualization.

What you will learn

  • Install Ubuntu Server 26.04 LTS on a physical server and prepare it for virtualization
  • Install KVM, libvirt and Open vSwitch
  • Configure NAT virtual networks and Open vSwitch bridges, with or without VLANs
  • Deploy Ubuntu, CentOS Stream and Rocky Linux virtual machines from cloud images and ISOs
  • Manage the virtual machine lifecycle and resize resources while running
  • Create snapshots, clone, back up and restore virtual machines
  • Monitor virtual machines with virsh and virt-top
  • Automate deployment with cloud-init and autoinstall

Table of contents

Show the full table of contents
  1. Préambule
  2. Chapitre 1 : Introduction à la virtualisation KVM
  3. Chapitre 2 : Installer l'hyperviseur
  4. Préparer le média d'installation
  5. Installer Ubuntu Server 26.04 LTS sur un serveur physique
  6. Configuration post-installation du serveur
  7. Installer l'hyperviseur KVM et Open vSwitch
  8. Chapitre 3 : Préparer le réseau et le stockage
  9. Configurer les réseaux virtuels (NAT et bridges OVS)
  10. Configurer le pool de stockage des machines virtuelles
  11. Chapitre 4 : Déployer des machines virtuelles
  12. Déployer une machine virtuelle à partir d'une image cloud
  13. Configuration post-déploiement de la machine virtuelle
  14. Déployer une VM à partir d'un ISO via la console série
  15. Déployer des machines virtuelles CentOS Stream et Rocky Linux
  16. Chapitre 5 : Gérer les machines virtuelles
  17. Gérer le cycle de vie des machines virtuelles
  18. Redimensionner à chaud les ressources d'une machine virtuelle
  19. Superviser les machines virtuelles avec virsh domstats et virt-top
  20. Chapitre 6 : Snapshots, clones et sauvegardes
  21. Créer des snapshots et cloner des machines virtuelles
  22. Gérer les snapshots externes avec blockcommit
  23. Sauvegarder et restaurer une machine virtuelle
  24. Chapitre 7 : Réseau virtuel avancé
  25. Attacher des interfaces réseau et configurer les VLANs
  26. Configurer les VLANs sur les ports Open vSwitch
  27. Chapitre 8 : Stockage virtuel avancé
  28. Ajouter et gérer du stockage virtuel
  29. Chapitre 9 : Automatiser le déploiement
  30. Automatiser le déploiement d'une machine virtuelle avec cloud-init
  31. Installer une machine virtuelle avec autoinstall depuis l'ISO
  32. Chapitre 10 : Migrer des machines virtuelles
  33. Chapitre 11 : GPU passthrough
  34. Chapitre 12 : Révision complète

A project built on these technologies?

We design, deploy and operate the platforms described in our books, and we train your teams on them.