karbor/install-guide/source/install-source.rst

1.3 KiB

Install from source

This section describes how to install and configure the Data Protection service from source.

Install the services

Retrieve and install karbor:

git clone https://git.openstack.org/openstack/karbor
cd karbor
python setup.py install

This procedure installs the karbor python library and the following executables:

  • karbor-wsgi: karbor wsgi script
  • karbor-api: karbor api script
  • karbor-protection: karbor protection script
  • karbor-operationengine: karbor operationengine script
  • karbor-manage: karbor manage script

Install sample configuration files:

mkdir /etc/karbor
cp etc/api-paste.ini /etc/karbor
cp /etc/karbor.conf /etc/karbor
cp /etc/policy.json /etc/karbor
cp -r etc/providers.d /etc/karbor

Create the log directory:

mkdir /var/log/karbor

Install the client

Retrieve and install karbor client:

git clone https://git.openstack.org/openstack/python-karborclient.git
cd python-karborclient
python setup.py install

Finalize installation

You can start karbor services directly from command line by executing karbor-api, karbor-protection and karbor-operationengine.