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-2017 17:57] edmc73 [Bug] |
linux:proxmox [28-12-2020 14:49] edmc73 [Proxmox 6] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Proxmox ====== | ====== Proxmox ====== | ||
- | ===== Définition ===== | + | ===== Doc ===== |
+ | |||
+ | Bel article sur proxmox 5 => https:// | ||
+ | |||
+ | |||
+ | ===== Définition | ||
Proxmox est une distribution linux sous debian lenny qui intègre les outils openvz ( http:// | Proxmox est une distribution linux sous debian lenny qui intègre les outils openvz ( http:// | ||
Ligne 130: | Ligne 135: | ||
Il n'y a plus qu'a les télécharger dans le répertoire template prévu par proxmox. | Il n'y a plus qu'a les télécharger dans le répertoire template prévu par proxmox. | ||
+ | |||
+ | ==== Proxmox 5 ==== | ||
+ | Plus de openVZ maintenant c'est du LXC | ||
+ | |||
+ | Our image repositories contain a list of available images, and there is a cron job run each day to download that list. You can trigger that update manually with: | ||
+ | |||
+ | pveam update | ||
+ | After that you can view the list of available images using: | ||
+ | |||
+ | pveam available | ||
+ | You can restrict this large list by specifying the section you are interested in, for example basic system images: | ||
+ | |||
+ | List available system images | ||
+ | |||
+ | # pveam available --section system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | system | ||
+ | |||
+ | Before you can use such a template, you need to download them into one of your storages. You can simply use storage local for that purpose. For clustered installations, | ||
+ | |||
+ | pveam download local debian-8.0-standard_8.0-1_amd64.tar.gz | ||
+ | |||
+ | You are now ready to create containers using that image, and you can list all downloaded images on storage local with: | ||
+ | |||
+ | # pveam list local | ||
+ | local: | ||
+ | |||
+ | The above command shows you the full Proxmox VE volume identifiers. They include the storage name, and most other Proxmox VE commands can use them. For example you can delete that image later with: | ||
+ | |||
+ | pveam remove local: | ||
+ | |||
====== Proxmox 4 ====== | ====== Proxmox 4 ====== | ||
Ligne 245: | Ligne 288: | ||
pct console 101 | pct console 101 | ||
+ | ====== Proxmox 5 ====== | ||
+ | |||
+ | ===== sur une VM non LXC, c'est lent ===== | ||
+ | |||
+ | Par exemple, j' | ||
+ | |||
+ | Par magie, en désactivant le SWAP, on retrouve la rapidité normal du système. | ||
+ | |||
+ | sudo swapoff -a | ||
+ | |||
+ | ===== cluster ===== | ||
+ | J'ai voulu test en créant un cluster puis en m' | ||
+ | |||
+ | Heureusement, | ||
+ | |||
+ | systemctl stop pve-cluster | ||
+ | systemctl stop corosync | ||
+ | pmxcfs -l | ||
+ | rm / | ||
+ | rm / | ||
+ | killall pmxcfs | ||
+ | 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 reste de l' | ||
+ | |||
+ | 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 | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | Maintenant que tout est installé, il va falloir configurer 2, 3 trucs dans l' |