Sonaric Node Setup

Requirements :

MinimalRecommended

4 GB RAM

8 GB+ RAM

2 CPU cores

4+ CPU cores

20 GB free disk space

100 GB+ free disk space (SSD)

amd64 CPU Architecture

amd64 CPU Architecture

Server :

Contabo VPS 1 - 2 : Click

Install Update / Packages :

sudo apt update -y && sudo apt upgrade -y

Node JS :

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 20
nvm use 20
npm install -g npm@latest

Run the following command to download and execute the installation script :

sh -c "$(curl -fsSL https://raw.githubusercontent.com/monk-io/sonaric-install/main/linux-install-sonaric.sh)"

Node İnfo :

sonaric node-info

It should return the node information if the node is running :

 ✨ Node information loaded:
 ├─🧊 ID             12D3XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 ├─📥 Leader         wavy-cream-yacht
 ├─🧊 Version        v1.1.0
 ...

Update :

apt update
apt upgrade sonaric

To confirm the node is running the latest version, issue the following command :

sonaric node-info
 ✨ Node information loaded:
 ├─🧊 ID             12D3XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 ├─📥 Leader         wavy-cream-yacht
 ├─🧊 Version        v1.1.0
 ...

Accessing the GUI :

Create an SSH tunnel to forward the required ports to your local machine by issuing the following command on your local machine :

ssh -L 127.0.0.1:44003:127.0.0.1:44003 -L 127.0.0.1:44004:127.0.0.1:44004 -L 127.0.0.1:44005:127.0.0.1:44005 -L 127.0.0.1:44006:127.0.0.1:44006 user@your-vps-ip - Change your ip And Change User - if you use root write root

ssh -L 127.0.0.1:44003:127.0.0.1:44003 -L 127.0.0.1:44004:127.0.0.1:44004 -L 127.0.0.1:44005:127.0.0.1:44005 -L 127.0.0.1:44006:127.0.0.1:44006 user@your-vps-ip

You will be prompted to authenticate cia SSH. Once authenticated, the SSH tunnel will be established.

Your local machine and navigate to http://localhost:44004 to access the Sonaric GUI.

curl http://localhost:44004

Identity Backup :

sonaric identity-export -o your-node-name.identity

You will be prompted to enter a password to encrypt the exported identity. After entering the password, the identity will be exported to the specified file.

Import :

sonaric identity-import -i your-node-name.identity

Points Check :

sonaric points

Last updated