Carbonio CE Components Installation

Carbonio CE components can be installed to extend its functionalities. Besides a basic Carbonio CE installation, there is no additional requirement. Components can be installed on the same installation, although within a Multiserver installation they can be installed on dedicated nodes.

In the remainder of this section we show how to install each of these components, currently only Carbonio Files, on a Multi-Server installation.

Note

Installation of Carbonio Files on Single-Server is part of the Carbonio CE installation.

Carbonio Files on Multi-Server

In order to install and configure Carbonio Files successfully, complete all these steps.

Update repository and install required packages

Make sure you have the latest packages list from the repository and upgrade the system.

In order to upgrade the system, use your preferred package manager. As CLI utilities, you can use apt on Ubuntu operating systems and dnf or yum on RHEL 8 operating system.

Then, install the required database, postgresql.

# apt install postgresql

In RHEL 8 it is necessary to specify the package version manually: Postgres 12 is required, instead of the default 10.

# dnf module install postgresql:12/server
# systemctl start postgresql.service
# systemctl enable postgresql.service

Create a postgres superuser with password ScrtPsw987^2 (use a password of your choice).

# sudo -u postgres psql
# CREATE ROLE "carbonio-files-adm" WITH LOGIN SUPERUSER encrypted password 'ScrtPsw987^2';CREATE DATABASE "carbonio-files-adm" owner "carbonio-files-adm";
# \q

Save the password in a safe place.

Install and Configure Carbonio Files

Depending on your setup, you need to install packages on different nodes.

First, install carbonio-files-ui on each Proxy Node.

# apt install carbonio-files-ui
# dnf install carbonio-files-ui

All the other packages can be installed on any other Node, although we suggest to install them on the Store Node.

# apt install carbonio-storages-ce carbonio-files-ce carbonio-files-db carbonio-user-management
# dnf install carbonio-storages-ce carbonio-files-ce carbonio-files-db carbonio-user-management

The installation will end with message:

======================================================
Carbonio Files installed successfully!
You must run pending-setups to configure it correctly.
======================================================

Hence, execute pending-setups

# pending-setups

Final Task

The final steps is to bootstrap Carbonio Files's DB (replacing the example password “My_Mesh_Password£0!” with the chosen one):

# PGPASSWORD=My_Mesh_Password£0! carbonio-files-db-bootstrap carbonio-files-adm 127.0.0.1