Lab 01 : Installation de Packer
Objectifs
Section intitulée « Objectifs »Dans ce TP, vous apprendrez à installer Packer sur différents systèmes d’exploitation.
Architecture du TP
Section intitulée « Architecture du TP »Dans cette partie, vous allez apprendre à :
- Télécharger et installer Packer sur Windows
- Télécharger et installer Packer sur macOS / Linux
Installation sur Windows
Section intitulée « Installation sur Windows »- Téléchargez Packer depuis le site officiel.
- Extrayez l’archive téléchargée.
- Déplacez le fichier
packer.exedans un dossier de votre choix. - Ajoutez ce dossier au
PATHde votre système.
Installation sur Linux
Section intitulée « Installation sur Linux »- Téléchargez Packer depuis le site officiel.
- Extrayez l’archive téléchargée.
- Changer les permissions pour le rendre exécutable :
chmod +x packer- Déplacez le fichier
packerdans/usr/local/bin:
sudo mv packer /usr/local/bin/- Vérifiez l’installation en tapant
packer -v.
Installation sur MacOS
Section intitulée « Installation sur MacOS »Sur Macos il suffit d’utiliser brew :
brew install packer