Automated environment setup

This page will guide you through the DKG Edge Node installation process

Currently, the automated environment setup works only on Ubuntu 24.04 LTS and Ubuntu 22.04 LTS.

The installation process involves interacting with the installer through the terminal. To proceed, you should have all the required inputs ready, as they will be required by the installer:

  • Admin and operational keys for your Edge Node and their private keys

  • Funds on the wallets

  • Firewall configured

System Requirements

  • Operating System: Linux (Ubuntu 24.04, Ubuntu 22.04)

  • RAM: At least 8 GB

  • CPU: 4

  • Storage: At least 20 GB of available space

  • Network: Stable internet connection

Software dependencies

Ensure the following services are installed:

  • Git

1. How the installer works

When the installation process is finalized, you will be provided with the following Edge Node services deployed to your Linux server:

Each Edge Node service will have its required runtime environment and dependencies properly configured. This includes the installation and setup of Node.js (with npm), Python, MySQL, Redis, and Apache Airflow.

All services will be configured to run as systemd processes, which will be enabled and started automatically upon installation.

2. Download the OriginTrail DKG Edge Node installer

In order to clone the Edge Node installer repository, simply run the commands below on your Linux server:

git clone https://github.com/OriginTrail/edge-node-installer.git
cd edge-node-installer

3. Set the environment variables file (.env)

Fill in the required parameters.

nano .env.example

When finished, rename the file to .env with the following command.

mv .env.example .env

4. Execute the installer by running:

Simply run the installer with the command provided below:

bash edge-node-installer.sh

5. Usage

You can interact with the user interface at http://your-nodes-ip-address.

Configure the rest of the DKG Edge Node services

The instructions for configuring DKG Edge Node services are available in the README file of each service's GitHub repository, where you can follow the steps provided.

  • Edge Node Authentication Service (README instructions)

  • Edge Node API (README instructions)

  • Edge Node UI (README instructions)

  • Edge Node Knowledge Mining (README instructions)

  • Edge Node dRAG (README instructions)

Need help?

If you encounter any issues during the installation process or have questions about any of the topics above, jump into our official Discord and ask for assistance.

Follow our official channels for updates:

Last updated

Was this helpful?