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
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.