Install Bitcoind on ubuntu and connect P2P with Production and testnet

Posted By : Deepak Mittal | 02-May-2015

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 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:-

https://en.bitcoin.it/wiki/Running_Bitcoin

 

Now start Your Bitcoind with this Command:-

Access bitcoin -     cd .bitcoin/

Start command -  bitcoind -daemon  


Hope this will help you.

 

 

About Author

Author Image
Deepak Mittal

Deepak is a bright web Developer. Deepak has expertise in Java.

Request for Proposal

Name is required

Comment is required

Sending message..