Install Bitcoind on ubuntu and connect P2P with Production and testnet
Posted By : Deepak Mittal | 02-May-2015
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.
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Deepak Mittal
Deepak is a bright web Developer. Deepak has expertise in Java.