Below is a step-by-step guide for a docker based DKGv6 setup.
Prerequisites
A dedicated 4GB RAM/2CPUs/ 50GB HDD Instance (minimum hardware requirements)
Docker Engine and Docker-Compose installed
Install docker.
For installation on Ubuntu based system, follow the official installation manual below:
Install Docker Engine on Ubuntu
Docker Documentation
Docker installation on for Ubuntu
For installation on a Debian based system, follow the official installation manual via link below:
Install Docker Engine on Debian
Docker Documentation
Docker installation on Debian
For installation on a CentOS based system, follow the official documentation via link below:
Install Docker Engine on CentOS
Docker Documentation
Docker installation on CentOS
For installation on a Windows based system, follow the official WSL installation documentation via link below:
Install WSL
docsmsft
WSL installation on Windows OS
To setup DKGv6 on Windows based system, you need to install your preferred linux subsystem on windows. After installation login into the Linux Subsystem and proceed to install docker-engine & docker-compose.
Setup the firewall
In order for DKGv6 to communicate and send telemetry metrics on the network, you need to open ports below through your firewall system.
For Linux based systems run:
1
sudo ufw allow 8900 && ufw allow 9000
Copied!
Install Docker-Compose
With docker installed on the system, you can download and install Docker Compose. Follow the official docker-compose installation documentation for your respective OS via link below:
Install Docker Compose
Docker Documentation
Docker-compose installation
Setup and Clone Code Repo
After installation and configuration of docker with docker-compose, proceed and clone OT-Node Git Repo on to your system.
You need to set up Certificates directory for OT-Node.
1
sudo mkdir ~/certs
Copied!
Setup configuration file
Create a configuration file in your current directory with the appropriate Public & Private keys.
1
sudo nano ~/ot-node/.origintrail_noderc
Copied!
โ
If you wish to run your node with GraphDB, make sure that your configuration file has the correct parameters set under the "graphDatabase" section as shown in the example below:
If you wish to run your node with BlazeGraph, make sure that your configuration file has the correct parameters set under the "graphDatabase" section as shown in the example below: