Advertisement
Guest User

ubuntu blackcoin

a guest
Sep 16th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. TO INSTALL BLACKCOIN
  2. sudo apt-get install git
  3. sudo apt-get update
  4. mkdir -p blackcoin && cd blackcoin
  5. git clone https://github.com/Blackcoin/blackcoin.git
  6. sudo apt-get install build-essential
  7. sudo apt-get install libssl-dev
  8. sudo apt-get install libdb++-dev
  9. sudo apt-get install libboost-all-dev
  10. sudo apt-get install libqrencode-dev
  11. sudo apt-get install libminiupnpc-dev
  12. sudo apt-get install make
  13. sudo apt-get install qtchooser
  14. cd blackcoin
  15. cd src
  16. sync; echo 3 | sudo tee /proc/sys/vm/drop_caches --> to free up RAM
  17. make -f makefile.unix
  18. # create a blackcoin.conf where the wallet is
  19. # insert the following in:
  20. server=1 #makes your wallet a server
  21. daemon=1
  22. listen=1
  23. rpcuser=user # login username
  24. rpcpassword=pass # login password
  25. rpctimeout=30 #timeout duration
  26. rpcallowip=0.0.0.0 # by default, only localhost is allowed to make requests. Notice * for a wildcard
  27. rpcport=15715 #port on which to listen.
  28.  
  29.  
  30. iptables -I INPUT -p tcp --dport 15332 --syn -j ACCEPT
  31. chmod +x blackcoind
  32. ./blackcoind
  33. find public ip of instance
  34. change the sucurity group options to allow inboud 15715 custom tcp rule
  35. make sure outbound rules for client (hosting service) allow for port 15715
  36.  
  37. make sure to allow outboud port connection to 15715 on you website's host
  38.  
  39. COMMANDS
  40. ./blackcoind -daemon
  41. blackcoind getblockcount
  42.  
  43.  
  44. -- to close
  45. pidof blackcoind
  46. sudo kill ###
  47.  
  48. -- to gain root access
  49. sudo su -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement