Skip to content

Instantly share code, notes, and snippets.

@andreyselin
Last active October 18, 2019 13:46
Show Gist options
  • Save andreyselin/6d75d64ab509b8d5f7b30a479d8193c3 to your computer and use it in GitHub Desktop.
Save andreyselin/6d75d64ab509b8d5f7b30a479d8193c3 to your computer and use it in GitHub Desktop.
** Add repository and install bitcoind **
sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
mkdir ~/.bitcoin/ && cd ~/.bitcoin/
nano bitcoin.conf
** Add config to bitcoin.conf file **
rpcuser=username
rpcpassword=password
testnet=1
rpcport=8332
rpcallowip=127.0.0.1
rpcallowip=195.154.11.93
server=1
** Start bitcoind in background **
bitcoind -daemon
** Test bitcoind is running and working **
bitcoin-cli getblockchaininfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment