Install
Latest Version Tag |
---|
Quickly start a light node on the Nubit DA Alpha Testnet
Install dependencies
Update system and install build tools
sudo apt -q updatesudo apt -qy install curl git jq lz4 build-essentialsudo apt -qy upgrade
Install file2ban
# set and copy the config that will have higher prioritysudo 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 statussudo systemctl status fail2ban# check which jails are active (by default only sshd)sudo fail2ban-client status# check sshd statisticssudo fail2ban-client status sshd# look at the logssudo 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
# To start your light node, simply run the following command:
curl -sL1 https://nubit.sh | bash
Starting a Node in Background
# 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 &