Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.19 KB

INSTALLATION.md

File metadata and controls

45 lines (33 loc) · 1.19 KB

Installation guide

Installation scripts are placed inside install folder.

Generating certificates

Certificates are used to secure MQTT communication between RabbitMQ and MQTT Clients, such as Rockiot demo. Certificates can be generated using provided certs script:

chmod +x ./install/certs.sh
./install/certs.sh

Output path is mounted as volume to docker containers.

Installing servers

Currently, two scripts are supported.

Single server setup

This option installs required system libraries, docker and docker compose, and generates certificates. All other dependencies are configured and installed using docker images.

cd ./install/application
chmod +x install.sh
sudo ./install.sh

Separate database and application server

This option considers dedicated servers for the database and the application. Database is installed with all required extensions, configured automatically, including the database backup.

On database server:

cd ./install/database
chmod +x install.sh
sudo ./install.sh

On application server:

cd ./install/application
chmod +x install.sh
sudo ./install.sh