| 1 |
========================== |
| 2 |
Install Cyborg from Source |
| 3 |
========================== |
| 4 |
|
| 5 |
This section describes how to install and configure the Acceleration Service |
| 6 |
for Ubuntu 18.04.1 LTS from source code. |
| 7 |
|
| 8 |
Install from git repository |
| 9 |
--------------------------- |
| 10 |
|
| 11 |
#. Create a folder which will hold all Cyborg components. |
| 12 |
|
| 13 |
.. code-block:: console |
| 14 |
|
| 15 |
mkdir ~/cyborg |
| 16 |
|
| 17 |
.. |
| 18 |
|
| 19 |
#. Clone the cyborg git repository to the management server. |
| 20 |
|
| 21 |
.. code-block:: console |
| 22 |
|
| 23 |
cd ~/cyborg |
| 24 |
git clone https://opendev.org/openstack/cyborg |
| 25 |
.. |
| 26 |
|
| 27 |
#. Set up the cyborg config file |
| 28 |
|
| 29 |
First, generate a sample configuration file, using tox |
| 30 |
|
| 31 |
.. code-block:: console |
| 32 |
|
| 33 |
cd ~/cyborg/cyborg |
| 34 |
tox -e genconfig |
| 35 |
.. |
| 36 |
|
| 37 |
And make a copy of it for further modifications |
| 38 |
|
| 39 |
.. code-block:: console |
| 40 |
|
| 41 |
cp -r ~/cyborg/cyborg/etc/cyborg /etc |
| 42 |
cd /etc/cyborg |
| 43 |
ln -s cyborg.conf.sample cyborg.conf |
| 44 |
.. |
| 45 |
|
| 46 |
#. Install Cyborg packages. |
| 47 |
|
| 48 |
.. code-block:: console |
| 49 |
|
| 50 |
cd ~/cyborg/cyborg |
| 51 |
sudo python setup.py install |
| 52 |
.. |
| 53 |
|
| 54 |
.. include:: common.rst |