Rent a server, connect to it from your own computer, and prepare it for Incentium. You only need to copy and paste.
Every role runs on a Linux server that is always on. This guide gets one ready. It takes about 15 minutes, plus the time your provider needs to deliver the server.
You talk to the server by typing commands in a window on your own computer. It looks old-fashioned, but you only need to copy and paste.
On your computer
ssh root@203.0.113.25It is safer not to work as "root". Make a user called incentium, choose a password when asked, and press Enter through the other questions:
On the server
adduser incentium && usermod -aG sudo incentium
Then log out (exit) and log in again as that user, from your computer:
On your computer
ssh incentium@203.0.113.25
On the server
sudo apt update && sudo apt -y upgrade
If it asks for a password, it is the one you chose for incentium. If it says a restart is needed, run sudo reboot, wait a minute and connect again.
Other nodes must be able to reach yours. Most rented servers have all ports open. If your provider has a firewall in its control panel, open these:
| Port | For | Needed by |
|---|---|---|
22 (TCP) | Your own ssh connection | Everyone (usually open already) |
30333 (TCP) | Talking to the other Incentium nodes | Every role |
8100 (TCP) | Miners fetch work from your validator | SN0 validator |
80 and 443 (TCP) | The certificate and the public wss:// address | Public RPC and archive |
If you use Ubuntu's own firewall (ufw), the same in one go: sudo ufw allow 22,30333,8100,80,443/tcp && sudo ufw enable (leave out the ports you do not need).
Swap is extra memory on the disk. It stops the build from failing on an 8 GB server:
On the server
sudo fallocate -l 4G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile && echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab