|
|
Line 1: |
Line 1: |
| + | |
| = Manual installation = | | = Manual installation = |
| | | |
− | == Prerequisites ==
| + | '''THIS PAGE IS OBSOLETE''' |
− | Start with installing some requirements that Rally needs to be set up correctly. The specific requirements depend on the environment you are going to install Rally in:
| + | '''USE automate installation script: ''' [[Rally/installation#Automated_installation]] |
− | | |
− | '''Ubuntu''' | |
− | sudo apt-get update
| |
− | sudo apt-get install libpq-dev git-core python-dev libevent-dev libssl-dev libffi-dev libsqlite3-dev
| |
− | curl -o /tmp/get-pip.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py
| |
− | sudo python /tmp/get-pip.py
| |
− | sudo pip install pbr
| |
− | | |
− | '''CentOS'''
| |
− | sudo yum install gcc git-core postgresql-libs python-devel libevent-devel openssl-devel libffi-devel sqlite
| |
− | #install pip on centos:
| |
− | curl -o /tmp/get-pip.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py
| |
− | sudo python /tmp/get-pip.py
| |
− | sudo pip install pbr
| |
− | | |
− | '''VirtualEnv'''
| |
− | | |
− | Another option is to install Rally in virtualenv; you should then install this package, create a virtualenv and activate it:
| |
− | | |
− | sudo pip install -U virtualenv
| |
− | virtualenv .venv
| |
− | . .venv/bin/activate # NOTE: Make sure that your current shell is either bash or zsh (otherwise it will fail)
| |
− | sudo pip install pbr
| |
− | | |
− | == Installing Rally ==
| |
− | The next step is to clone & install rally:
| |
− | | |
− | git clone https://github.com/stackforge/rally.git && cd rally
| |
− | sudo python setup.py install
| |
− | | |
− | Now you are ready to configure Rally (in oder for it to be able to use the database):
| |
− | | |
− | sudo mkdir /etc/rally
| |
− | sudo cp etc/rally/rally.conf.sample /etc/rally/rally.conf
| |
− | sudo vim /etc/rally/rally.conf
| |
− | # Change the [https://github.com/stackforge/rally/blob/c8508134c05bbffde9f9422029d48adb1a0f38ea/etc/rally/rally.conf.sample#L145 ''"connection"'' parameter], For example to this:
| |
− | connection="sqlite:////a/path/here/rally.sqlite"
| |
− | | |
− | After the installation step has been completed, you need to create the Rally database:
| |
− | | |
− | rally-manage db recreate
| |
− | | |
− | '''<big>And finally you are able to [[Rally/HowTo | use Rally!]]</big>''' | |