Installer le client OpenStack sous Linux : Différence entre versions

De Hopla.cloud OpenStack Documentation Wiki
Aller à : navigation, rechercher
 
(4 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 5 : Ligne 5 :
 
==Prérequis==
 
==Prérequis==
  
*[[Générer et télécharger le fichier OpenStack RC|Avoir généré et téléchargé le Fichier Openstack RC]]
+
*[[Générer et télécharger le fichier OpenStack RC depuis Horizon|Avoir généré et téléchargé le Fichier Openstack RC]]
 
*Droits root (ou sudo) sur votre poste de travail Linux
 
*Droits root (ou sudo) sur votre poste de travail Linux
  
Ligne 19 : Ligne 19 :
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo yum install -y python-devel python-pip gcc
 
sudo yum install -y python-devel python-pip gcc
sudo yum install -y python-openstackclient
+
sudo yum install -y python3-openstackclient
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
===Extension Octavia===
 
===Extension Octavia===
Installation de l'extension du client OpenStack pour Piloter vos Load Balancers (Octavia) en ligne de commande :
+
Installation de l'extension du client OpenStack pour piloter vos Load Balancers (Octavia) en ligne de commande :
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo yum install python-octaviaclient
 
sudo yum install python-octaviaclient
 
</syntaxhighlight>
 
</syntaxhighlight>
  
==Installation du client OpenStack sur Ubuntu Linux==
+
==Installation du client OpenStack sur Ubuntu et Debian Linux==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo apt update
 
sudo apt update
sudo apt install python-openstackclient
+
sudo apt install python3-openstackclient
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
===Extension Octavia===
 
===Extension Octavia===
Installation de l'extension du client OpenStack pour Piloter vos Load Balancers (Octavia) en ligne de commande :<syntaxhighlight lang="bash">
+
Installation de l'extension du client OpenStack pour piloter vos Load Balancers (Octavia) en ligne de commande :<syntaxhighlight lang="bash">
 
sudo apt install python-octaviaclient
 
sudo apt install python-octaviaclient
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Pour aller plus loin ==
+
==Installation du client OpenStack sur Mac OS==
 +
Installation des paquets :<syntaxhighlight lang="bash">
 +
brew install python
 +
sudo pip3 install python3-openstackclient
 +
</syntaxhighlight>
 +
 
 +
==Pour aller plus loin==
 
[[:Catégorie:Experts|Toutes les documentations du cloud hopla.cloud en ligne de commande]]
 
[[:Catégorie:Experts|Toutes les documentations du cloud hopla.cloud en ligne de commande]]
 
[[Catégorie:Dashboard Horizon]]
 
[[Catégorie:Dashboard Horizon]]
 
[[Catégorie:Experts]]
 
[[Catégorie:Experts]]
 
[[Catégorie:Linux]]
 
[[Catégorie:Linux]]

Version actuelle datée du 8 octobre 2024 à 07:59

Description

Cette page décrit comment installer le logiciel client pour Openstack, qui permets d'utiliser le cloud hopla.cloud en ligne de commande (CLI).

Prérequis

Installation du client OpenStack sur CentOS Linux

Installation des dépôts et mise à jour

sudo yum install epel-release -y 
sudo yum update -y

sudo yum install -y https://rdoproject.org/repos/rdo-release.rpm 
sudo yum install -y centos-release-openstack-queens

Installation des paquets

sudo yum install -y python-devel python-pip gcc
sudo yum install -y python3-openstackclient

Extension Octavia

Installation de l'extension du client OpenStack pour piloter vos Load Balancers (Octavia) en ligne de commande :

sudo yum install python-octaviaclient

Installation du client OpenStack sur Ubuntu et Debian Linux

sudo apt update
sudo apt install python3-openstackclient

Extension Octavia

Installation de l'extension du client OpenStack pour piloter vos Load Balancers (Octavia) en ligne de commande :

sudo apt install python-octaviaclient

Installation du client OpenStack sur Mac OS

Installation des paquets :

brew install python
sudo pip3 install python3-openstackclient

Pour aller plus loin

Toutes les documentations du cloud hopla.cloud en ligne de commande