Guest User

Untitled

a guest
Dec 18th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 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 apt-get install nano curl gcc g++ make
  8. sudo apt-get install software-properties-common
  9. sudo add-apt-repository ppa:bitcoin/bitcoin
  10. sudo apt-get update
  11. sudo apt-get install bitcoind
  12. mkdir ~/.bitcoin/ && cd ~/.bitcoin/
  13. nano bitcoind.conf
  14.  
  15.  
  16. ** Add config to bitcoin.conf file **
  17.  
  18. rpcuser=username
  19. rpcpassword=password
  20. testnet=1
  21. rpcport=8332
  22. rpcallowip=127.0.0.1
  23. rpcallowip=195.154.11.93
  24. server=1
  25.  
  26.  
  27. ** Start bitcoind **
  28.  
  29. bitcoind &
  30.  
  31.  
  32. ** If bitcoind is already started **
  33.  
  34. ps -e | grep bitcoin // returns pid
  35. kill -9 <pid>
  36. bitcoind &
  37.  
  38. ** Test bitcoind is running and working **
  39.  
  40. bitcoin-cli getinfo
Add Comment
Please, Sign In to add comment