Guest User

Linux ZettelKasten Starter Guide

a guest
Apr 19th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. Mining guide for Linux
  2.  
  3. Linux Daemon (link from ANN):
  4. http://zettelkasten.org/zettelkastend.7z
  5.  
  6. Daemon is 7z zip, you could unzip it in Windows and use WinSCP to upload or get 7z for Linux as below:
  7. sudo apt-get install p7zip-full
  8.  
  9. If you'd want RAR too then
  10. sudo apt-get install p7zip-rar
  11.  
  12. Get the daemon/wallet:
  13. wget http://zettelkasten.org/zettelkastend.7z
  14. 7z e zettelkastend.7z
  15. sudo chmod +x zettelkastend
  16. ./zettelkastend
  17. Stop the daemon with ctrl + C, we just need run it to create sprout
  18.  
  19. nano ~/.zettelkasten/zettelkasten.conf
  20. Replace someuserany and somepasswordany to your whatever you choose.
  21.  
  22. rpcuser=someuserany
  23. rpcpassword=somepasswordany
  24. daemon=1
  25. server=1
  26. gen=0
  27. genproclimit=-1
  28.  
  29. # -1 is all CPU threads, to check what you have pick one --> nproc, lscpu, less /etc/proc/cpuinfo
  30.  
  31. Now run daemon again ./zettelkastend
  32. ZettelKasten server starting
  33. Get the account address, its privkey, etc; ...
  34.  
  35. ./zettelkastend getaccountaddress 0
  36. Copy it and paste it after dumpprivkey
  37.  
  38. ./zettelkastend dumpprivkey <your_account_0_address>
  39. ./zettelkastend stop
  40. nano ~/.zettelkasten/zettelkasten.conf
  41. Change gen=0 to 1 and add miningprivkey
  42. gen=1
  43. miningprivkey=yourprivkeyfromabovestep
  44.  
  45. Relaunch
  46. ./zettelkastend
  47. ./zettelkastend getmininginfo
  48.  
  49. You should see something like this: ...
  50. "hashespersec" : 39456,
  51. "networkhashps" : 80470064,
  52. "pooledtx" : 0,
  53. "testnet" : false
  54.  
  55. Congratulations! You are now mining Zettel on Linux :D
  56.  
  57. Common useful cmds:
  58. ./zettelkastend gebalance #to check confirmed balance
  59. ./zettelkastend listaccounts #all balance including unconfirmed
  60. ./zettelkastend stop #stop mining
  61. ./zettelkastend help #of course
  62.  
  63. #Hint: Use TAB key
  64.  
  65. #Zettelkasten Dev Donation Address:
  66. ZetterxMoFb2crhpMgRCHkivyrbapnQpzJ
  67.  
  68. #@chipah#8995 Address for that Linux Guide:
  69. ZbV33H1jQv3yWxYEWSmSFb5KjoAhDWjv5C
Add Comment
Please, Sign In to add comment