Prerequisites

Before you begin, ensure that you have the following:

  1. A VPS or Dedicated Server:
  2. Operating System:
  3. Basic Knowledge of Linux Command Line.
  4. Nesa Wallet:
  5. SSH Access:

Step 1: Update and Prepare Your Server

  1. Update your system:

    sudo apt update && sudo apt upgrade -y
    
    
  2. Install essential packages:

    sudo apt install build-essential curl wget git -y
    
    
  3. Set up a firewall (optional but recommended):

    sudo apt install ufw -y
    sudo ufw allow ssh
    sudo ufw allow 26656/tcp
    sudo ufw enable
    
    

Step 2: Install Dependencies

  1. Install Go (version 1.20 or later):

    wget <https://golang.org/dl/go1.20.5.linux-amd64.tar.gz>
    sudo tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
    export PATH=$PATH:/usr/local/go/bin
    
    
  2. Verify Go installation:

    go version
    
    
  3. Install other dependencies:

    sudo apt install jq -y
    
    

Step 3: Install Nesa Node

  1. Clone the Nesa repository:

    git clone <https://github.com/nesa-network/nesa.git>
    cd nesa