Guest User

Untitled

a guest
Oct 21st, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ** Add repository and install bitcoind **
  2.  
  3. sudo apt-get install build-essential
  4. sudo apt-get install libtool autotools-dev autoconf
  5. sudo apt-get install libssl-dev
  6. sudo apt-get install libboost-all-dev
  7. sudo add-apt-repository ppa:bitcoin/bitcoin
  8. sudo apt-get update
  9. sudo apt-get install bitcoind
  10. mkdir ~/.bitcoin/ && cd ~/.bitcoin/
  11. nano bitcoin.conf
  12.  
  13.  
  14. ** Add config to bitcoin.conf file **
  15.  
  16. rpcuser=username
  17. rpcpassword=password
  18. testnet=1
  19. rpcport=8332
  20. rpcallowip=127.0.0.1
  21. rpcallowip=195.154.11.93
  22. server=1
  23.  
  24.  
  25. ** Start bitcoind **
  26.  
  27. sudo bitcoind
  28.  
  29.  
  30. ** If bitcoind is already started **
  31.  
  32. ps -e | grep bitcoin // returns pid
  33. kill -9 <pid>
  34. bitcoind &
  35.  
  36. ** Test bitcoind is running and working **
  37.  
  38. bitcoin-cli getinfo
Add Comment
Please, Sign In to add comment