How to setup a Bitcoin node

This tutorial describes how to setup a new Bitcoin node on Linux server – this node will be used as relay node in the Bitcoin network and it’s not recommended to store anything in it’s wallet.

  • Download bitcoin from official website: https://bitcoin.org/en/download
  • At the moment the most recent version can be downloaded using this direct link: https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz”>https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz
  • Extract archive:

Create bitcoin configuration file:

Create new file in ~/.bitcoin called bitcoin.conf with following contents (you should setup different password):

Start bitcoin daemon

From this moment initial node bootstrapping begins – you’ll see a lot of server resources being used, especially disk and CPU

After few moments you can check if your node is downloading blocks from the network (bootstrapping), use this command:

You should see similar output:

This is how fully synchronized node looks at the moment:

You should also see a lot of resources being used on the server while initial synchronization is happening. Depending on your hardware, especially CPU and disk, initial synchronization might take even up to 24 hours.
After the node finishes bootstrapping, it’s not using as much resources.

Additional step: Depending on your firewall configuration you might need to add following exceptions to the iptables: