Talk:OpenStack: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


==New combined CLI tool installation==
==New combined CLI tool installation==
{{command|sudo apt-get install python-dev python-pip}}
{{command|sudo apt-get install python-dev python-pip}}
{{command|pip install python-openstackclient}}
{{command|pip install python-openstackclient}}
see [[http://docs.openstack.org/cli-reference/common/cli_install_openstack_command_line_clients.html http://docs.openstack.org/cli-reference/common/cli_install_openstack_command_line_clients.html]]


see [[http://docs.openstack.org/cli-reference/common/cli_install_openstack_command_line_clients.html http://docs.openstack.org/cli-reference/common/cli_install_openstack_command_line_clients.html]]
To install on a machine (ACENET specifically without admin privileges) use:{{command| pip install --user python-openstackclient}} which installs to ~/.local/lib/pythonX.Y/site-packages/ so by adding <code>export PYTHONPATH=${HOME}/.local/lib/python2.7/site-packages/:${PYTHONPATH}</code> to your <code>.bashrc</code> file if you are using Python major version X=2, and minor version Y=7.

Revision as of 18:39, 21 March 2016

CERN docs on OpenStack, might be helpful https://clouddocs.web.cern.ch/clouddocs/

New combined CLI tool installation

Question.png
[name@server ~]$ sudo apt-get install python-dev python-pip
Question.png
[name@server ~]$ pip install python-openstackclient

see [http://docs.openstack.org/cli-reference/common/cli_install_openstack_command_line_clients.html]

To install on a machine (ACENET specifically without admin privileges) use:

Question.png
[name@server ~]$  pip install --user python-openstackclient

which installs to ~/.local/lib/pythonX.Y/site-packages/ so by adding export PYTHONPATH=${HOME}/.local/lib/python2.7/site-packages/:${PYTHONPATH} to your .bashrc file if you are using Python major version X=2, and minor version Y=7.