* Use 'apt install' command instead of legacy 'apt-get' [1] https://ubuntu.com/server/docs/package-management Change-Id: I5b83b7d11a7ae11a1b48b02d5c7d7b7483875b8f
48 lines
1.2 KiB
ReStructuredText
48 lines
1.2 KiB
ReStructuredText
.. _install-ubuntu:
|
|
|
|
Install and configure for Ubuntu
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This section describes how to install and configure the Database
|
|
service for Ubuntu Ubuntu 22.04 or 24.04 (LTS).
|
|
|
|
.. include:: common_prerequisites.txt
|
|
|
|
|
|
Install and configure components
|
|
--------------------------------
|
|
|
|
#. Install the packages:
|
|
|
|
.. warning::
|
|
|
|
Please be aware that the trove debian packages for Ubuntu are not
|
|
usually up to date, especially when there are bugfixes for stable
|
|
branch, the debian packages are not guaranteed to contain those changes.
|
|
The recommended way to install OpenStack services is either using docker
|
|
image with source code or installing source code inside a Python
|
|
virutual environment.
|
|
|
|
The commands to install Trove compoments:
|
|
|
|
.. code-block:: console
|
|
|
|
# apt update
|
|
# apt install python-trove trove-common trove-api trove-taskmanager trove-conductor
|
|
# pip3 install python-troveclient
|
|
|
|
|
|
.. include:: common_configure.txt
|
|
|
|
|
|
Finalize installation
|
|
---------------------
|
|
|
|
1. Restart the Database services:
|
|
|
|
.. code-block:: console
|
|
|
|
# service trove-api restart
|
|
# service trove-taskmanager restart
|
|
# service trove-conductor restart
|