Spheron Node
This guide walks you through setting up a Worker Node on the Spheron Network using a Virtual Private Server (VPS).
System Requirements
- RAM: 8 GB
- CPU: 4 cores
- Disk Space: 100 GB
Registration Process
- Register via Spheron Network and sign up using either your email or GitHub account.
- Connect with your wallet.
- Click “Register Node Fizz.” to begin the registration process.
- Choose your OS, allocate resources, select your region, and choose your node provider along with the appropriate tier.
- Claim your faucet tokens to get started.
- Download the setup script
fizzup.sh
, to your local machine.
Moving fizzup.sh
to Your VPS
- On your local machine, open the script using nano:
nano fizzup.sh
-
After reviewing the script, press Ctrl + X, then press Y to save the changes, and hit Enter to exit.
-
Now, copy and transfer the file to your VPS using a secure file transfer method such as scp:
scp fizzup.sh your_username@your_vps_ip:/root
Installation Steps
1. Install Docker (Skip if Docker is already installed)
To set up Docker, use the following commands:
sudo apt update -y && sudo apt upgrade -yfor pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get updatesudo apt-get install ca-certificates curl gnupgsudo install -m 0755 -d /etc/apt/keyringscurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpgsudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update -y && sudo apt upgrade -y
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginsudo chmod +x /usr/local/bin/docker-compose
# Verify Docker installationdocker --version
2. Install Script
After transferring the fizzup.sh setup script to your VPS, execute the following commands to install the node:
chmod +x /root/fizzup.sh && ./fizzup.sh
Checking Logs
docker-compose -f ~/.spheron/fizz/docker-compose.yml logs -f