How to run Bitcoin-Unlimited node on CentOS

1 min read

This will be a quick guide, I am using CentOS v6.5:

  1. SSH or Mosh to your VPS
  2. Download the latest bitcoin-unlimited client from: https://www.bitcoinunlimited.info/download
    • At the time article written the latest version = v1.0.1.4 (Apr 24, 2017)
    • type:
      $ wget https://www.bitcoinunlimited.info/downloads/bitcoinUnlimited-1.0.1.4-linux64.tar.gz
  3. Untar the file.
    • type:
      $ tar -xvf bitcoinUnlimited-1.0.1.4-linux64.tar.gz
  4. Create your own RPC User and RPC Password for bitcoin-cli.
    • Step 1, create bitcoin folder:
      $ mkdir .bitcoin
    • Step 2, create config file:
      $ touch .bitcoin/bitcoin.conf
    • Step 3, write your username:
      $ echo rpcuser=YOUR_USER >> ~/.bitcoin/bitcoin.conf
    • Step 4, write your rpc password:
      $ echo rpcpassword=YOUR_PASSW >> ~/.bitcoin/bitcoin.conf
  5. You have 2 options to run the client full or prune.
    • For Full, type:
      $ ./bitcoinUnlimited-1.0.1/bin/bitcoind --daemon
    • For Prune (keeping last X blocks), type:
       ./bitcoinUnlimited-1.0.1/bin/bitcoind --daemon --prune=50000
  6. Confirm that it is running perfectly:
    • type:
      $ ./bitcoinUnlimited-1.0.1/bin/bitcoin-cli getinfo
  7. Make sure TCP port 8833 is open so it can communicate with other node:
    • Step 1, create the rule:
      $ sudo iptables -I INPUT -p tcp --dport 8333 -j ACCEPT
    • Step 2, save the rule:
      $ sudo service iptables save
  8. Check your node if it’s working properly at: https://bitnodes.21.co/#join-the-network
Latest posts by David B (see all)