Friday, September 8, 2017

Install Bitcoind on ubuntu and connect P2P with Production and testnet

Install BitcoinD Ubuntu
The Bitcoind package is available in the universal repostories, you can add bitcoin PPA and then install bitcoind . This will give a stable version to you .

Dependencies
To get add-apt-repository, which we will use later to add the bitcoin PPA:
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
Configuration
Before starting bitcointd you'll want to create a directory and the bitcoin.conf configuration file:
cd ~/
mkdir .bitcoin
cd .bitcoin
vim bitcoin.conf

In bitcoin.conf these content are important :
server=1
testnet=1
rpcuser=UNIQUE_RPC_USERNAME
rpcpassword=UNIQUE_RPC_PASSWORD

If you wish to use this installation on the regular bitcoin network, remove testnet=1

For more of bitcoind commands and bitcoin.conf file ref:-

Now start Your Bitcoind with this Command:-
Access bitcoin -     cd .bitcoin/
Start command -  bitcoind -daemon  

Hope this will help you.

For more info you can visit here: 
http://www.oodlestechnologies.com/blogs

No comments:

Post a Comment