How to Install Bitcoin XT node on Ubuntu Server 14.04 LTS
Q. What is Bitcoin ?
Ans: Bitcoin is digital currency in which encryption techniques are used to regulate the generation of units of currency. In 2009 by an unknown person using the alias Satoshi Nakamoto. It is the first decentralized peer-to-peer payment network that is powered by its users with no central authority or middlemen – meaning, no banks! No one controls it. There are no transaction fees and no need to give your real name.
OS: Ubuntu Server 14.04 LTS
Minimum HDD Size: 120 GB
Minimum RAM: 3.5 GB
CPU: 2 Cores
Step: 1. Install Prerequisites :
# apt-get update
# apt-get -y install python-software-properties
# apt-get -y install build-essential libboost-all-dev automake libtool autoconf
# apt-get -y install libdb++-dev
# apt-get -y install libboost-all-dev
# apt-get -y install pkg-config
# apt-get -y install libssl-dev
# apt-get -y install libcurl4-openssl-dev
# apt-get -y install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
# apt-get -y install git
Step: 2. Install BitcoinXT :
# cd
# git clone https://github.com/bitcoinxt/bitcoinxt
# cd bitcoinxt
# ./autogen.sh
# ./configure --with-cli=yes --with-gui=no --disable-wallet
# make
# make install
Step: 3. We will Run bitcoind once so it Generates the proper Directories :
# bitcoind -server
Step: 4. Configure BitcoinXT :
# echo 'rpcuser=bitcoinrpc' > ~/.bitcoin/bitcoin.conf (Default Bitcoin XT User)
# echo 'rpcpassword=6Q9k65HhrgA1ghY1chr2x4776AwEkkf1eH5eZ7Fh7dXk' >> ~/.bitcoin/bitcoin.conf (Default Bitcoin XT Password)
# echo 'server=1' >> ~/.bitcoin/bitcoin.conf
Step: 5. Verify config-file Values are in the file :
# cat ~/.bitcoin/bitcoin.conf
Step: 6. To Check this has Worked perform the Following :
# cd ~/.bitcoin
# ls -al
"blocks" should be in a cyan colour and look like this: blocks -> /media/data/blocks Node that it's the current user, bitcoin, that has file access.
Step: 7. The Daemon should now be ready to Start :
# bitcoind -daemon
Step: 8. Type the Following to run a Small Test :
# bitcoin-cli getinfo
The output should be something like this :
{
"version" : 110000,
"protocolversion" : 70010,
"blocks" : 90012,
"timeoffset" : -1,
"connections" : 8,
"proxy" : "",
"difficulty" : 3091.73689041,
"testnet" : false,
"relayfee" : 0.00001000,
"errors" : ""
}
Step: 9. Also, go to https://getaddr.bitnodes.io/ & type in the node network address. ex: 192.168.72.10 & click "CHECK NODE".
Something like the following should show to verify you are running BitcoinXT:
192.168.72.10:8333 /Bitcoin XT:0.11.0/
Step: 10. To Check Block Chain :
https://blockchain.info/
# bitcoin-cli getblockcount
Step: 11. To Check BitcoinXT Version :
# bitcoind -version
Bitcoin XT Daemon version v0.11.0.0-fa6040a
Copyright (C) 2009-2015 The Bitcoin XT Developers
Step: 12. To Check Debug Log files :
# tail -100f ~/.bitcoin/debug.log
Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog