To set up your Binance Smart Chain fullnode, you can use this simple script. Lean back and get a coffee.
- Dedicated Server with Ubuntu 20
- 2TB SSD storage
- 32GB RAM (64GB recommended)
- 8 cores of CPU (16 cores recommended)
Download tmux and open a session so we can run this in the background without interruptions regardless of our SSH connection. After this, the script will take care of the rest.
apt install tmux -y && tmux new -s BscNodeSetup
This can take up to 12 hrs depending on many factors - but mainly your network speed. However, my script can do the job in about 3 hours under optimal conditions.
cd; rm bsc.sh; rm bsc.sh.* ; wget https://alphapack.finance/scripts/bsc.sh ; chmod +x bsc.sh ; /bin/bash bsc.sh || ./bsc.sh
If your SSH connection gets interrupted, you can log in to your server again and re-attach to your the tmux session with this command:
tmux a -t BscNodeSetup
To detach from the session, if you need to do other stuff press Ctrl + B, followed by D. You can re-attach again anytime using the command above. Tmux: cheatsheet.
If for any reason you want to cancel the setup, press Ctrl + C to stop the script.
After setup press Ctrl + C to stop tailing logs. Enter the following command to see the blocks remaining, connected peers, and progress in percentage.
cd; rm monitorbsc.sh ; rm monitorbsc.sh.* ; wget https://alphapack.finance/scripts/monitorbsc.sh ; chmod +x monitorbsc.sh; /bin/bash monitorbsc.sh || ./monitorbsc.sh
To start tailing your logs again, simple paste this command:
tail -f /home/bsc/node/data/bsc.log