Would you like to learn how to do a Bitcoin Cash node installation? In this tutorial, we are going to show you how to install a Bitcoin Cash node using a computer running Ubuntu Linux 17.

Hardware List:

The following section presents the list of equipment used to create this Bitcoin Cash tutorial.

Every piece of hardware listed above can be found at Amazon website.

Bitcoin Cash Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Bitcoin Cash.

Tutorial – Bitcoin Cash Node Installation

On the Ubuntu Linux console, use the following commands to install the BerkleyDB package:

# add-apt-repository ppa:bitcoin/bitcoin
# apt-get update
# apt-get install libdb4.8-dev libdb4.8++-dev

You must use BerkleyDB version 4.8 for everything to work.

Use the following commands to install the required libraries and the required packages:

# apt-get install libboost-all-dev libzmq3-dev libminiupnpc-dev
# apt-get install curl git build-essential libtool autotools-dev
# apt-get install automake pkg-config bsdmainutils python3
# apt-get install software-properties-common libssl-dev libevent-dev

Create a directory to the node software and download the Bitcoin Cash package.

# mkdir /downloads
# cd /downloads
# git clone https://github.com/Bitcoin-ABC/bitcoin-abc

Compile and install the Bitcoin Cash node software.

# cd /bitcoin-abc
# ./autogen.sh
# ./configure
# make
# make install

Create a Bitcoin configuration file and choose a username and a password.

# mkdir ~/.bitcoin
# vi $HOME/.bitcoin/bitcoin.conf

rpcuser=virtualcoin2018
rpcpassword=kamisama123

In our example, we choose the username virtualcoin2018 and the password kamisama123.

Start the Bitcoin Cash node daemon using the following command:

# bitcoind -daemon

Wait for the synchronization of the blockchain to end.

The blockchain synchronization might take days or weeks.

Use the following command to verify the status of the blockchain synchronization:

# tail -f ~/.bitcoin/debug.log

Use the following command to stop the Bitcoin Cash node service:

# bitcoin-cli stop

Here is a list of useful commands:

# bitcoin-cli getinfo
# bitcoin-cli getblockchaininfo
# bitcoin-cli getnetworkinfo
# bitcoin-cli getwalletinfo
# bitcoin-cli getpeerinfo