cc_staff
1,486
edits
Line 51: | Line 51: | ||
==Command Line Clients== | ==Command Line Clients== | ||
The OpenStack command line clients allow you to perform many of the same operations and more that you can perform on the OpenStack web dashboard. The command line clients can be used from any machine, virtual or otherwise, and only require having an internet connection and the command line clients installed. The below discussion of command line clients, assumes that they are being used on a Linux machine. It may be possible to use them in Windows however, this has not yet been explored. | The OpenStack command line clients allow you to perform many of the same operations and more that you can perform on the OpenStack web dashboard. The command line clients can be used from any machine, virtual or otherwise, and only require having an internet connection and the command line clients installed. The below discussion of command line clients, assumes that they are being used on a Linux machine. It may be possible to use them in Windows however, this has not yet been explored. | ||
<ol> | |||
<li> | |||
Get the openstack environment setup file: On the OpenStack dashboard go to compute->Access & Security-> API Access-> Download OpenStack RC File. This file sets environment variables so that the command line clients know how to connect to your OpenStack project.</li> | |||
<li>source the file (you will need to provide your OpenStack password)</li> | |||
<li>install the nova client:{{Command|sudo apt-get install python-novaclient}}this client is used for managing images, instances, and flavors (i.e. the "compute" tab on horizon dashboard). (e.g. run the command {{Command|nova list}}, which lists all the instances currently setup)</li> | |||
<li>install keystone client:{{Command|sudo apt-get install python-keystoneclient}}this client creates and manages users, tenants, roles, endpoints, and credentials. (e.g. run the command {{Command|keystone catalog}})</li> | |||
<li>install neutron client:{{Command|sudo apt-get install python-neutronclient}} this client manages networks</li> | |||
<li>install swift client:{{Command|sudo apt-get install python-swiftclient}} This client is used for managing the OpenStack object storage, see http://docs.openstack.org/cli-reference/content/swiftclient_commands.html for swift client commands.</li> | |||
</ol> | |||
==Accessing a VM with Multiple Users== | ==Accessing a VM with Multiple Users== |