Skip to content

Install


Latest Version Tag

Quickly start a light node on the Nubit DA Alpha Testnet

Install dependencies

Update system and install build tools
Terminal window
sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgrade
Install file2ban

more here and here

Terminal window
# set and copy the config that will have higher priority
sudo apt install fail2ban -y && \
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local && \
sudo nano /etc/fail2ban/jail.local
# uncomment and add your IP: ignoreip = 127.0.0.1.1/8 ::1 [ip]
sudo systemctl restart fail2ban
# check status
sudo systemctl status fail2ban
# check which jails are active (by default only sshd)
sudo fail2ban-client status
# check sshd statistics
sudo fail2ban-client status sshd
# look at the logs
sudo tail /var/log/fail2ban.log
# stop work and remove from autoloading
#sudo systemctl stop fail2ban && sudo systemctl disable fail2ban

Run a Light Node with One Command

Terminal window
# To start your light node, simply run the following command:
curl -sL1 https://nubit.sh | bash

Starting a Node in Background

Terminal window
# Please open a terminal & type the following command to start node service in the background:
nohup bash <(curl -s https://nubit.sh) > $HOME/nubit-light.log 2>&1 &