Jump to: navigation, search

Difference between revisions of "Rally/installation"

m (Undo revision 40831 by Tzanetos Balitsaris (talk) Revert my previous change because it was incorrect. The file is downloaded in the current directory and not in /tmp.)
m (Rally setup: Based on the above instructions, the directory 'rally' resides directly in our home directory and not inside a 'git' directory. Just fixing the path.)
Line 39: Line 39:
  
 
  sudo mkdir /etc/rally  
 
  sudo mkdir /etc/rally  
  sudo cp ~/git/rally/etc/rally/rally.conf.sample /etc/rally/rally.conf
+
  sudo cp etc/rally/rally.conf.sample /etc/rally/rally.conf
 
  sudo vim /etc/rally/rally.conf
 
  sudo vim /etc/rally/rally.conf
  
 
And finally you are able [https://wiki.openstack.org/wiki/Rally/HowTo to use it]
 
And finally you are able [https://wiki.openstack.org/wiki/Rally/HowTo to use it]

Revision as of 19:03, 31 January 2014

Rally setup

Start with install the follwing requirements:

 #ubuntu 
 sudo apt-get update
 sudo apt-get install libpq-dev git-core python-dev libevent-dev libssl-dev python-pip
 #centos
 sudo yum install gcc git-core postgresql-libs python-devel libevent-devel openssl-devel
 #install pip on centos:
 curl -o /tmp/ez_setup.py https://sources.rhodecode.com/setuptools/raw/bootstrap/ez_setup.py 
 sudo /usr/bin/python /tmp/ez_setup.py 
 sudo /usr/bin/easy_install pip 
 sudo rm setuptools-*.tar.gz 
 sudo pip install -i https://pypi.rhodecode.com/ --upgrade pip


If you would like to install Rally in virtualenv install virtualenv, create one and activate it:

  sudo pip install -U virtualenv
  virtualenv .venv
  . .venv/bin/activate

INSTALL PBR firstly because of bug pbr bug

 pip install pbr


Then clone & install rally:

 git clone https://github.com/stackforge/rally.git && cd rally
 python setup.py install

The you need to create Rally database:

 rally-manage db recreate

Now you are ready to configure Rally:

sudo mkdir /etc/rally 
sudo cp etc/rally/rally.conf.sample /etc/rally/rally.conf
sudo vim /etc/rally/rally.conf

And finally you are able to use it