Would you like to learn how to do a Zcash node installation? In this tutorial, we are going to show you how to install a Zcash node using a computer running Ubuntu Linux.
Hardware List:
The following section presents the list of equipment used to create this Zcash tutorial.
Every piece of hardware listed above can be found at Amazon website.
Zcash Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Zcash.
Tutorial – Zcash Node Installation
On the Ubuntu Linux console, use the following commands to install the required libraries and the required packages:
# apt-get update
# apt-get install build-essential pkg-config libc6-dev wget
# apt-get install m4 g++-multilib autoconf libtool bsdmainutils
# apt-get install ncurses-dev unzip git python zlib1g-dev automake
Create a directory to the node software and download the Zcash node package.
# mkdir /downloads
# cd /downloads
# git clone https://github.com/zcash/zcash.git
Compile and install the Zcash node software.
# cd zcash
# git fetch origin
# ./zcutil/fetch-params.sh
# ./zcutil/build.sh
# cd src
# install -sv zcashd zcash-cli /usr/local/bin/
# install -sv zcash-gtest zcash-tx /usr/local/bin/
Create a Zcash configuration file and choose a username and a password.
# mkdir ~/.zcash
# vi $HOME/.zcash/zcash.conf
rpcuser=virtualcoin2018
rpcpassword=kamisama123
In our example, we choose the username virtualcoin2018 and the password kamisama123.
Start the Zcash node daemon using the following command:
# zcashd -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 /root/.zcash/debug.log
Use the following command to stop the Zcash node service:
# zcash-cli stop