« Proxmox commandes » : différence entre les versions

Page créée avec « = 🧱 '''📘 Proxmox VE 9.x – Commandes essentielles (CLI)''' = ----- = 🚀 '''1. LXC Containers – <code>pct</code>''' = '''(Proxmox Container Toolkit – commandes officielles)''' ### ▶️ Gestion des containers <syntaxhighlight lang="sh">pct list # Lister containers pct start <id> # Démarrer pct stop <id> # Stopper pct restart <id> # Redémarrer pct enter <id> # Shell dans le container</syntaxhighl... »
 
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
= 🧱 '''📘 Proxmox VE 9.x – Commandes essentielles (CLI)''' =
= 🧱 '''📘 Proxmox VE 9.x – Commandes essentielles (CLI)''' =
=== Liste noyaux installés ===
<syntaxhighlight lang="sh" copy>ls -la /boot/vmlinuz-*</syntaxhighlight>
=== Vérifier les kernels bootables sur Proxmox ===
<syntaxhighlight lang="sh" copy>sudo proxmox-boot-tool kernel list</syntaxhighlight>


-----
-----
Ligne 12 : Ligne 19 :
pct restart <id>        # Redémarrer
pct restart <id>        # Redémarrer
pct enter <id>          # Shell dans le container</syntaxhighlight>
pct enter <id>          # Shell dans le container</syntaxhighlight>
=== ▶️ Répertoire des fichiers de configuration LXC ===
<syntaxhighlight lang="sh">
/etc/pve/lxc/
/etc/pve/lxc/<VMID>.conf
</syntaxhighlight>


=== ▶️ Création / clone / suppression ===
=== ▶️ Création / clone / suppression ===