Before starting, ensure the following:

  1. Operating System: A Linux-based system is recommended (Ubuntu 20.04+ or CentOS).
  2. System Requirements:
  3. Technical Skills: Familiarity with the command line, Docker, and system configuration.

Step 1: Update and Prepare the System

Update your system packages and install essential tools.

sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget build-essential -y

Ensure Docker and Docker Compose are installed:

  1. Install Docker:

    curl -fsSL <https://get.docker.com> -o get-docker.sh
    sudo sh get-docker.sh
    sudo usermod -aG docker $USER
    
    

    Log out and back in to apply Docker group permissions.

  2. Install Docker Compose:

    sudo apt install docker-compose -y
    
    

Step 2: Install Rust (Optional)

If the validator node requires Rust for custom builds, install it:

curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
source $HOME/.cargo/env
rustup update


Step 3: Clone the Tangle Node Repository

Clone the official Tangle node repository: