Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| 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/05/01 10:16] (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> | ||
| + | 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 | ||
| + | |||
| + | </ | ||
| + | |||
| + | Le média d' | ||
| + | |||
| + | Pour la création de la VM on s' | ||
| + | |||
| + | <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 3072 \ | ||
| + | --vcpus 2 \ | ||
| + | --boot uefi \ | ||
| + | --controller type=scsi, | ||
| + | --controller type=virtio-serial, | ||
| + | --rng / | ||
| + | --disk / | ||
| + | --disk / | ||
| + | --graphics none \ | ||
| + | --sound none \ | ||
| + | --controller type=usb, | ||
| + | --location / | ||
| + | --console pty, | ||
| + | --network network=default, | ||
| + | --dry-run | ||
| + | </ | ||
| Ligne 22: | Ligne 66: | ||
| ===== Références ===== | ===== Références ===== | ||
| - | * [[https:// | + | * [[https:// |
| + | * [[https:// | ||