Atom feed of this document
 

 Installing from Source

[Note]Note

The instructions below will work only for releases Essex-4 and beyond.

If you cannot install Quantum from distribution packages, you can download the both the python-quantumclient-<version>.tar.gz and quantum-<version>.tar.gz files from https://launchpad.net/quantum/+download.

[Note]Note

The Quantum server code currently depends on code in python-quantumclient, so the client code must always be downloaded and installed.

First, install python setup tools. For example, on Ubuntu:

sudo apt-get install python-setuptools python-dev libxslt1-dev

Then install the client and server packages using setup tools. For example, on Ubuntu:

tar xzf python-quantumclient-<version>.tar.gz
tar xzf quantum-<version>.tar.gz
cd python-quantumclient-<version>
sudo python setup.py install
cd ..
cd quantum-<version>
sudo python setup.py install

After the install, the executables "quantum-server" and "quantum" should be in your path, just as if you had installed from packages.

Run setup.py with the "-h" option to see other install options.

After installing from source, quantum-server will not automatically find a config file unless it is specified as a command-line parameter to the deamon, for example:

quantum-server quantum-<version>/etc/quantum.conf

If you wish to run quantum-server with no argument, you can copy the quantum config directory in your source tarball to /etc/quantum . For example: file to /etc/quantum, for example:

sudo mkdir /etc/quantum
sudo cp quantum-<version>/etc/* /etc/quantum