Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
linux:proxmox [10-09-2020 15:23] edmc73 |
linux:proxmox [15-01-2021 15:54] edmc73 [Installation] |
||
---|---|---|---|
Ligne 310: | Ligne 310: | ||
killall pmxcfs | killall pmxcfs | ||
systemctl start pve-cluster | systemctl start pve-cluster | ||
+ | | ||
+ | |||
+ | ====== Proxmox 6 ====== | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Bizarrement, | ||
+ | |||
+ | Au préalable, il va falloir bien partitionner son serveur en n' | ||
+ | |||
+ | * /dev/sda1 20 Go (/) | ||
+ | * /dev/sda2 4096 Go (swap) | ||
+ | * /dev/sda3 500 Go (lvm) /var/lib/vz | ||
+ | * /dev/sda4 1.4To (lvm) /backup | ||
+ | |||
+ | laisser un peu d' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Ensuite il faut suivre le tuto officiel => https:// | ||
+ | |||
+ | Petite particularité soyoustart, il y a un cloud config à modifier pour ne pas qu'il écrase le fichier /etc/hosts à chaque reboot | ||
+ | |||
+ | vi / | ||
+ | |||
+ | Commenter la ligne suivante dans le **cloud_init_modules** | ||
+ | # - update_etc_hosts | ||
+ | et modifiez la ligne suivante à la fin du fichier | ||
+ | manage_etc_hosts: | ||
+ | en | ||
+ | manage_etc_hosts: | ||
+ | |||
+ | Redémarrez et supprimez ensuite les anciens kernel en 4.xx | ||
+ | |||
+ | Convertissez votre partition en lvm-thin | ||
+ | |||
+ | < | ||
+ | |||
+ | // pour cela, on le supprime | ||
+ | root@proxmox6:/# | ||
+ | root@proxmox6:/# | ||
+ | Do you really want to remove active logical volume vg/vz? [y/n]: y | ||
+ | Logical volume " | ||
+ | |||
+ | // on le recrée avec 99% de l' | ||
+ | root@proxmox6:/# | ||
+ | WARNING: ext4 signature detected on / | ||
+ | Wiping ext4 signature on / | ||
+ | Logical volume " | ||
+ | root@proxmox6:/# | ||
+ | Thin pool volume with chunk size 256.00 KiB can address at most 63.25 TiB of data. | ||
+ | WARNING: Converting vg/data to thin pool's data volume with metadata wiping. | ||
+ | THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.) | ||
+ | Do you really want to convert vg/data? [y/n]: y | ||
+ | Converted vg/data to thin pool. | ||
+ | |||
+ | // on modifie le fstab pour pas monter le volume thin-pool | ||
+ | UUID=21bf4e05-83a4-452d-a927-093e5b1ea506 | ||
+ | UUID=822a0a6d-46fb-45de-bd8d-3eb386323977 | ||
+ | # | ||
+ | UUID=18245d31-414d-4339-b13d-70b730fc109f | ||
+ | UUID=2d1cff2c-f4a0-4455-a694-b2e06191aa71 | ||
+ | UUID=3c2be4e9-eec4-49aa-8148-121f6151c3aa | ||
+ | |||
+ | </ | ||
+ | |||
+ | On se retrouve ensuite avec un proxmox 6 tout neuf. L' | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | Maintenant que tout est installé, il va falloir configurer 2, 3 trucs dans l' | ||
+ | |||
+ | |||
+ | Sélectionnez votre serveur proxmox puis allez dans Système / Réseau | ||
+ | |||
+ | Créer un "Linux Bridge" | ||
+ | |||
+ | Ensuite, redémarrez votre proxmox. | ||
+ | |||
+ | |||
+ | Toujours dans Système, Certificats permet d' | ||
+ | |||
+ | Cliquez sur Datacenter puis Stockage. | ||
+ | |||
+ | Ajouter un répertoire de backup |