OriginTrail
  • Get started with OriginTrail
  • OriginTrail Ecosystem — Call for Papers (Coming Soon)
  • Key Concepts
    • Decentralized Knowledge Graph (DKG)
    • DKG key concepts
  • Build with DKG
    • Quickstart (test drive the DKG in 5 mins)
      • Quickstart with Node.js
      • Quickstart with Python
    • ChatDKG builder toolkit
      • DKG SDK
        • Development environment setup
        • DKG Javascript SDK (dkg.js)
          • Interact with DKG paranets
          • Knowledge submission & curation
          • Paranet's incentives pool implementation
        • DKG Python SDK (dkg.py)
      • DKG paranets
        • Deploying a DKG paranet
        • Building with DKG paranets
        • Syncing a DKG Paranet
        • Initial Paranet Offerings (IPOs)
          • IPO specification
          • Launching your IPO
          • Paranet's incentives pool
          • IPO voting
      • AI agents
        • ElizaOS DKG agent
        • Custom DKG Python agent
        • Custom DKG JavaScript agent
    • DKG Edge Node
      • DKG Edge Node architecture
      • Get started with the Edge Node boilerplate
        • Automated setup with the installer
        • Manual setup
        • Usage example
      • Customize & build with the Edge Node
      • Knowledge Mining and dRAG examples
      • Deploy your Edge Node based project
        • Automated deployment with installer
      • DKG Edge Node inception program
      • DKG Edge Node API documentation
    • DKG Core Node
      • Run a V8 Core Node on testnet
        • Preparation for V8 DKG Core Node deployment
        • V8 DKG Core Node installation
      • Run a V8 Core Node on mainnet
        • Preparation for V8 DKG Core Node deployment
        • V8 DKG Core Node installation
  • Delegated staking
    • Delegated staking—Introduction
      • Step-by-step staking
      • Redelegating stake
  • Integrated Blockchains
    • Base blockchain
      • Connect to Base
    • Gnosis chain
      • Connect to Gnosis
    • NeuroWeb
    • Teleport instructions - NeuroWeb
    • Bridging to Moonbeam
    • Deployed smart contracts
  • Bounties & rewards
    • General bug bounty
    • Code contributions & V8 bug bounty
  • Whitepapers & RFCs
    • OriginTrail whitepaper
    • OriginTrail RFCs
  • Useful Resources
    • What's new with OriginTrail V8
    • DKG V8 guidebook
      • Protocol updates
      • Feature roadmap
      • How to upgrade to V8?
    • Public nodes
    • Tutorials
    • Test token faucet
    • Development principles
    • Community created resources
    • Linked data & knowledge graphs
    • Available networks, network details and RPCs
    • OT Node Engine implementation details
      • Modules
      • Command Executor
    • Contribution guidelines
      • Guidelines for automated test contributions
    • Explore the OriginTrail ecosystem
Powered by GitBook
On this page
  • 1. Running the installer (installation script)
  • 1.1 - Download OriginTrail DKG node installer:
  • 1.2 - Firewall configuration:
  • 1.3 - Running the installer script:

Was this helpful?

Edit on GitHub
  1. DKG V6 (previous version)
  2. Running DKG nodes

DKG node installation

After preparing all the requirements for running your OriginTrail DKG node which includes wallets, tokens and RPC endpoints, you are now ready to start the installer and launch your OriginTrail DKG node.

At this stage, there are two approaches when it comes to deploying the OriginTrail DKG node:

  1. Downloading and running the installer (instructions provided below)

  2. DigitalOcean 1-click deployment (available on DigitalOcean marketplace)

    • Mainnet 1-click deployment: Currently unavailable (Coming soon)

    • Testnet 1-click deployment: Currently unavailable (Coming soon)

Make sure that you follow our communication channels closely for all the updates regarding additional options of launching and running the OriginTrail DKG node.

1. Running the installer (installation script)

By executing this installer your node will be deployed as a Linux system service (systemctl process).

The installation process will require interaction with the installer script via the terminal. Please ensure that you have all the necessary requirements for the node ready to be inserted into the prompt before running the installer.

  • Wallets and their private keys

  • Funds on the wallets

  • RPC endpoint

In order to avoid any installation issues, please run the installer on a clean Ubuntu 20.04 or 22.04 server.

1.1 - Download OriginTrail DKG node installer:

Ensure that you're logged in as root. Then, execute the following command in order to download the installation script and grant it executable access:

cd /root/ && curl -k -o installer.sh https://raw.githubusercontent.com/OriginTrail/ot-node/v6/develop/installer/installer.sh && chmod +x installer.sh

1.2 - Firewall configuration:

OriginTrail node needs the following ports to be opened in order to properly operate.

  • 8900 (default node API endpoint)

  • 9000 (networking port for communication with other nodes)

Installer will automatically enable UFW and open ports 22 (ssh), 8900 and 9000. Please keep in mind that different cloud providers use different security practices when it comes to configuring firewalls on the servers. Make sure that enabling UFW will not cause any networking issues on your server or disable it after the installation process is completed if you wish to configure firewall settings differently (ex. via cloud provider's console).

1.3 - Running the installer script:

During the installation process, OriginTrail node installer will execute the following actions:

  • Check for the Ubuntu OS version compatibility

  • Deploy OriginTrail node directory and install all required modules

  • Configure and enable OriginTrail node service

  • Enable and configure UFW (firewall)

  • Install required Node.js version together with NPM

  • Install and enable MySQL service

  • Configure MySQL user password for the OriginTrail node operational database (based on your inputs)

  • Install and enable BlazeGraph service (Graph database)

Do not run the installer with "sudo".

Execute the installer by running:

./installer.sh

Last updated 10 months ago

Was this helpful?

The provided installer script is designed for installing the OriginTrail node on Ubuntu 20.04 LTS and 22.04 LTS distributions. It is also possible to install the OriginTrail node on other systems, but it would require modifications to the installer script. If you have any such modifications in mind, we highly encourage your contributions. Please visit our for more information.

GitHub