Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### ZettelKasten Installation and Mining Guide for Linux ###
- 0. Make sure you have compiled ZettelKasten from source or downloaded the binary
- - ZettelKasten Compilation Guide 16.04
- https://pastebin.com/vBPY4yKb
- - ZettelKasten Compilation Guide 18.04
- https://pastebin.com/qKvU5Zhd
- - Binaries:
- Linux (Qt + Daemon - 64 bits):
- https://zettelkasten.org/zettelkasten-linux64.tar.gz
- 1. Make sure you're in the right folder and run those commands
- sudo chmod +x zettelkastend
- ./zettelkastend
- Press CTRL + C to stop
- It just created a new folder named .zettelkasten (starting with a dot) you can access it in your home directory (also called ~)
- Folders that starts with "." are "hidden folders" and can be seen by running the commands ls -la, first, let's go to ~
- cd ~
- ls -la
- You'll see that the .zettelkasten folder is in there, you can access it with
- cd .zettelkasten
- ls -la
- There is already a few files in there, the wallet.dat is in here for example, now you have to make the zettelkasten.conf
- 2. Create the zettelkasten.conf with nano zettelkasten.conf or in the case you already made it for a previous rig, you can just past your existing zettelkasten.conf in there and jump to step 4.
- Be sure you're making it in the right folder (the one starting with a dot)
- nano ~/.zettelkasten/zettelkasten.conf
- Replace someuserany and somepasswordany to anything you want to put as user and password.
- rpcuser=someuserany
- rpcpassword=somepasswordany
- daemon=1
- server=1
- gen=0
- genproclimit=-1
- genproclimit=-1 is all CPU threads, to check what you have pick one --> nproc, lscpu, less /etc/proc/cpuinfo
- 3. Run the daemon again ./zettelkastend (by going in the folder where you compiled or extracted it)
- Not in the folder starting with a "." (that has the .conf file) but the other one with the zettelkastend file, to make sure you're in the right folder, if you compiled it, it's over here:
- cd ~/zettelkasten/src
- ./zettelkastend
- If it says "ZettelKasten server starting" you can start typing commands to get the account address, its privkey, etc; ...
- If it doesn't say that line, please recheck you did the zettelkasten.conf properly.
- ./zettelkastend getaccountaddress 0
- Copy it and paste it after dumpprivkey
- ./zettelkastend dumpprivkey Paste_The_Address_You_Just_Copied_In_Here
- ./zettelkastend stop
- Copy the PrivKey
- nano ~/.zettelkasten/zettelkasten.conf
- Change gen=0 to 1 and add miningprivkey
- gen=1
- miningprivkey=PastePrivKeyFromStepAbove
- 4. Relaunch
- ./zettelkastend
- ./zettelkastend getmininginfo
- You should see something like this: ...
- "hashespersec" : 39456,
- "networkhashps" : 80470064,
- "pooledtx" : 0,
- "testnet" : false
- Congratulations! You are now mining Zettel on Linux :D
- Common useful commands:
- - to check confirmed balance:
- ./zettelkastend gebalance
- - to check all balance including unconfirmed:
- ./zettelkastend listaccounts
- - stop the daemon, use this everytime you're trying to close it, modifying the .conf and such
- ./zettelkastend stop
- - list all the commands available.
- ./zettelkastend help
- 5. If you have multiple systems running ZettelKasten, you can make one of them a Full Node for a stronger network and easier syncs:
- https://pastebin.com/1Zse955T
- #Tips:
- - Use TAB key while writing a folder or file name after entering the first letters for automatic filling of that name.
- - Use Arrow keys to find a previous command you typed.
- #Zettelkasten Dev Donation Address:
- ZetterxMoFb2crhpMgRCHkivyrbapnQpzJ
- #@chipah#8995 Address for that Linux Guide:
- ZbV33H1jQv3yWxYEWSmSFb5KjoAhDWjv5C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement