Ci-dessous, les différences entre deux révisions de la page.
| sysadmin:linux:virtualisation:kvm:installation_invite:creation-vm-rocky-linux-9-minimale [2026/04/26 09:24] – créée yoann | sysadmin:linux:virtualisation:kvm:installation_invite:creation-vm-rocky-linux-9-minimale [2026/04/26 09:52] (Version actuelle) – yoann | ||
|---|---|---|---|
| Ligne 17: | Ligne 17: | ||
| + | ===== Prérequis matériels minimaux ===== | ||
| + | * 2 Go RAM ; | ||
| + | * 20 Go d' | ||
| + | |||
| + | Création des fichiers disques | ||
| + | <code bash> | ||
| + | # Changement du groupe principal de l' | ||
| + | newgrp libvirt-qemu | ||
| + | |||
| + | mkdir ~/ | ||
| + | |||
| + | qemu-img create -f qcow2 rocky9.qcow2 20G | ||
| + | qemu-img create -f qcow2 swap.qcow2 2G | ||
| + | chmod g+w,o-rwx *.qcow2 | ||
| + | |||
| + | </ | ||
| + | |||
| + | : | ||
| + | |||
| + | <code bash> | ||
| + | virt-install \ | ||
| + | --name rocky9-minimal \ | ||
| + | --description "Rocky Linux 9.7 minimaliste. Système minimal sans support vidéo et son." \ | ||
| + | --osinfo rocky9 \ | ||
| + | --memory 2048 \ | ||
| + | --vcpus 2 \ | ||
| + | --boot uefi \ | ||
| + | --controller type=scsi, | ||
| + | --controller type=virtio-serial, | ||
| + | --rng / | ||
| + | --disk / | ||
| + | --disk / | ||
| + | --graphics none \ | ||
| + | --sound none \ | ||
| + | --controller type=usb, | ||
| + | --cdrom / | ||
| + | --network network=default, | ||
| + | </ | ||
| ===== Références ===== | ===== Références ===== | ||
| * [[https:// | * [[https:// | ||