Community

Discussions  |  Feature Requests  |  Tips and Tricks

How to install the Nimbula CLI on Windows from source packages

#1June 15, 2011 15:23:57

Jeremy Bar
Registered: 2011-01-05
Posts: 30

How to install the Nimbula CLI on Windows from source packages

The alternative to this with Nimbula Director 1.5.0 is to download the Windows installer from your tools directory of your API endpoint (http://api.site.nimbula/tools)

1) Download and install "Python 2.7.2 Windows Installer" from here: http://www.python.org/getit/
Add c:\Python27 in the PATH environment variable

2) Download and install setuptools-0.6c11.win32-py2.7.exe from here: http://pypi.python.org/pypi/setuptools#files

3) Download and extract both archives from here:
https://your_cluster_name/tools/source/

4) In the bAPI-x.y.z directory, run:
python setup.py install


5) In the bCLI-x.y.z directory, run:
python setup.py install


6) All of the nimbula related CLI python scripts get installed in c:\python27\Scripts\
You can invoke the CLI from a CMD windows the following way:
set NIMBULA_API=https://your_cluster_name
python \python27\Scripts\nimbula-api list instance /account -u /account/user


7) Optional - Download and extract Unix Utils from http://unxutils.sourceforge.net/ (to extract the tools' tar.gz archives)
I usually create a c:\bin directory where I extract all the .EXEs in, and add it to the PATH environment variable.

Edited jeremy (March 20, 2012 16:51:22)