Overview

In order to manage your Public Cloud services from a terminal, you can install OpenStack clients with Python.
This will allow you to manage Object Storage and automate the different actions which you can run with these clients.

This guide explains how to install the OpenStack clients.

Linux

.

With Debian

  • Open a terminal, or an SSH connection for the environment that you want to configure

  • Become root

  • Update repositories:
  • root@vps187763:~# apt-get update

  • Install clients for Nova (compute) and glance (image service)
  • root@vps187763:~# apt-get install python-glanceclient python-novaclient -y
Once this stage is complete, we recommend that you create a specific user, so that you are not working as the root user.
  • For help with the nova and glance command lines, enter the following command:
  • admin@vps187763:~$ nova help

    admin@vps187763:~$ glance help

  • Complete documentation for the OpenStack API can be found here
.

Under CentOS

  • Open a terminal, or an SSH connection for the environment you want to configure

  • Become root

  • Update repositories:
  • root@vps187763:~# apt-get update

  • Install rpm rdo-release:
  • [root@vps187769 ~]# yum install -y https://rdoproject.org/repos/rdo-release.rpm

  • Install nova
  • [root@vps187769 ~]# yum install -y python-novaclient

  • Install glance
  • [root@vps187769 ~]# yum install -y python-novaclient

Source: https://www.rdoproject.org/Quickstart
Once this stage is complete, we recommend that you create a specific user, so that you are not working as the root user.
  • For help with the nova and glance command lines, enter the following command:
  • [root@vps187769 ~]# nova help

    [root@vps187769 ~]# glance help

  • Complete documentation for the OpenStack API can be found here

Windows

  • Download and install version
  • 2.7.10 of Python

  • Launch a command promt

  • Install PIP with easy_install :
  • Install Swift
  • For help with the command lind, use this command:

  • C:\Windows\system32>swift --help