Skip to main content

Sonaric AI Node Installation (VPS)

Installing Docker​

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Updating the System​

apt update && apt upgrade -y

Installing the NVM​

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install 22
nvm use v22
npm install -g npm@latest

Installing the Linux AI Node​

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

Updating​

apt-get update
apt-get install sonicd sonic

Node Information​

sonic node-info

The output of the above code should be similar to the following.

✨ Node information loaded:
β”œβ”€πŸ§Š ID 12XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
β”œβ”€πŸ“₯ Name bright-slate-wharf
β”œβ”€πŸ§Š Version v1.5.0
β”œβ”€πŸ§Š Country
β”œβ”€πŸ§Š Daemon Version v1.5.0
β””β”€πŸ§© Host Info
β”œβ”€πŸ§Š OS linux
β”œβ”€πŸ§Š Platform ubuntu
β”œβ”€πŸ§Š Platform Version 22.04
β””β”€πŸ§Š Hostname vmd95175.contaboserver.net

Granting Access to GUI​

In the code below, write your server IP address where it says 'YOUR SERVER_IP_ADDRESS' and run the code.

YOUR_VPS_IP=YOUR SERVER_IP_ADDRESS

Then run the code below as is, without modifications.

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 root@$YOUR_VPS_IP

When you run the above code, first type 'yes' and 'enter', then enter your 'server password' and press 'enter'.

Backuping the Identitiy​

In the code below, write your node name where it says 'YOUR_NODE_NAME' and run the code. Then set the password.

sonic identity-export -o YOUR_NODE_NAME.identity
warning

With the above code, your identity file will be saved in the root directory, do not forget to backup it.

Getting the Operator Role​

Join the Sonaric Discord server, then type /addnode in the #general channel and send a message. Before running the code below, delete the area where it says ADDNODE, write the code given to you and run the code that way.

curl -sSL http://get.sonaric.xyz/scripts/register.sh | bash -s -- ADDNODE

Cheking Sonaric Points​

sonic points

Changing the Node Name​

sonic node-rename

Checking the Node​

Go to Sonaric explorer and type your name in the search box.