⚙️ Installation Light Node

🛠️ Hardware Requirements

Additional requirements

📝 Manual installation

1️⃣ Installation packeges and dependencies

# Install dependencies for building from source
sudo apt update && sudo apt upgrade -y
sudo apt install -y make curl tar wget screen nano net-tools jq aria2 clang pkg-config libssl-dev jq build-essential

# Install Go
sudo rm -rf /usr/local/go
curl -L https://go.dev/dl/go1.21.6.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
source .bash_profile

If during the installation process you are asked to confirm the installation [Y / N] - enter Y and continue the installation

2️⃣ Install node

2.1 Create a screen

screen -S nubit

Screen is a command-line tool that allows you to create virtual terminal sessions that you can use to run processes and view their output even after you've disconnected from the server.

2.2 Run the Script

curl -sL1 https://nubit.sh | bash

2.3 Wait a few minutes, the installation has started

2.4 Wait for this moment, and be sure to copy the values: ADDRESS , MNEMONIC , PUBKEY , AUTHKEY - write it down in a safe place

Example:

Your node will now start syncing, you will see something like this: (wait a few minutes to make sure everything is working fine)

After you wait a few minutes, the running node will show logs like this:

2.5 Your node works in "screen" mode - so to exit this mode, use the

Ctrl + A + D key combination

To make sure your node is working well, you can periodically join the "nubit" session using the following command:

screen -r nubit

2.6 Also, in case you can later review your mnemonic phrase, you can use the command:

cat $HOME/nubit-node/mnemonic.txt

If for any reason your node has stopped, re-enter the one-line script in the "nubit" session:

curl -sL1 https://nubit.sh | bash

I also recommend that you familiarize yourself with the section 💡 Useful commands where all useful commands that may come in handy are indicated

Last updated