this is my first post here, please be kind, if I do something wrong, please tell me.
I have my hive running since some days now, with an single GTX 1070 and mining ETH.
Additional Card will come into it as soon I found one with price not to high…
This will be an Step-by-Step Guide, how I found out yesterday evening. It will be completely in Chia-CLI and terminal, so no GUI required. As I find out, you can do everything with the Chia-CLI what you can do with the GUI. However, I’m using the VNC Remote Access to have everything in the HiveOS itself. My HiveOS has an A10 APU, with 8GB of RAM, with an 1TB SSD and 4x4GB usual SATA Drives and currently at [email protected]
Everything I wrote here can be found in chia-blockchain/wiki on GitHub, I just read a lot to find out how to do everything w/o GUI. So connect to your hive with VNC or SSh and do everything in terminal as root. I will be using the SSD as temp and the 4x4GB Drives as farming drives.
First of all you need to install chia-blockchan from github, this needs some packages:
apt-get install python3.7-venv python3.7-distutils python3.7-dev git lsb-release -y
Then we need to clone the githup repo in /usr/lib/:
git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
After this is done we move into the chia directory and run the installer:
This will install some additional packages and creates an Python3.7 venv. When the installation is complete we enter the venv with:
Now Chia needs to be initialized with:
Chia directory /root/.chia/mainnet
Can’t find private CA, creating a new one in /root/.chia/mainnet to generate TLS certificates
No keys are present in the keychain. Generate them with ‘chia keys generate’
To see your keys, run ‘chia keys show’
In my opinion it is saver when the farmer has its own wallet and keys and we then just send them to our main wallet after we farmed some chia. So we create our own wallet here with:
chia keys generate
It will create an new wallet and print out the 24 words menomonic for it.
We will now print out all the wallet information with:
chia keys show --show-mnemonic-seed
Be sure that you copy all of the output and store it on a save place with backup. With that information you can also add the wallet on an Chia GUI somewhere else.
That’s all with the preparation, when we now check the chia status we will get the information that no blockchan is currently available:
chia show -s
Searching for an initial chain
You may be able to expedite with ‘chia show -a host:port’ using a known node.
Blockchain has no blocks yet
So we start an farming node with farmer, harvester, a full node, and the wallet.
chia start farmer
Daemon not started yet
Important, you need to start the farmer again, every time you restart Hive OS, or create an startup job for that, otherwise farming will not be done!
You can check the connections with:
chia show -c
Type IP Ports NodeID Last Connect MiB Up|Dwn
WALLET 127.0.0.1 39012/8449 35d736bd… May 06 16:34:29 0.0|0.0
FARMER 127.0.0.1 39014/8447 820c4663… May 06 16:34:30 0.0|0.0
Check from time to time the status of the blockchain:
chia show -s
Current Blockchain Status: Not Synced. Peak height: 244053
Time: Fri May 07 2021 09:59:35 EEST Height: 244053
Estimated network space: 2.622 EiB
Current difficulty: 170
Current VDF sub_slot_iters: 110100480
Total iterations since the start of the blockchain: 790260095973
Height: | Hash:
244053 | 85f85b819ef994093863b6d35f7aef0eb682ec4ba9f6de34a9d80a798c6c3aa8
244052 | 856e80bd34647dacd9b89fa9e700846cc53916353e95e6427b188be77ecc69ef
244051 | 776453221688a580e8a7467ed51780374b6980fdf8e84c4afd1787c39ab75ea3
244050 | 8540ec1c6e4a58aef716ef7e1bbf6cfda556d287dccef2ce7c815c884654bf1d
244049 | 8d9ef826a4088315bf97162641a4e99cda17fed94cf8576f3b74eba47df8695d
244048 | 67e9299832b204d37f2251e996aa8166ee4fda0e25c3c0f1dc37e822d3c149dc
244047 | 7efe6e7c63963c1abe940d84d36238478e2e2d18c55faa622282085580d15ba5
244046 | 7671e0f47705497a20dc60c6beefdf79e88a9e187c5053de1d9eac78e82a84d8
244045 | 11098c6ac4bdaea132df065a5b599e36045b425094b8e0999f9446cb44a29507
244044 | 3ac9763b389ca68e8af69a03b487bf82504155c1e8d6816ab34ca3f05aa9ed1c
As long the Blockchain Status is not synced, you cannot continue. Wait for that, it will take long time, several hours, depending on your hardware and internet connection.
Continue only if you have that output:
Current Blockchain Status: Full Node Synced
So, the daemon will keep the blockchain synched, now we can continue to create the plots. In my case I have the temp directory on the SSD in /home/user/chia_tmp/ and the plots directory in /mnt/sdb1/chia_plots/ and will create two plot files with the size of 101.4GiB:
chia plots create -n 2 -k 32 -b 4000 -t /home/user/chia_tmp/ -d /mnt/sdb1/chia_plots/
2021-05-07T11:25:17.868 chia.plotting.create_plots : INFO Creating 2 plots of size 32, pool public key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx farmer public key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2021-05-07T11:25:17.876 chia.plotting.create_plots : INFO Memo: xxxxxxxxxxxxxxxxxx
2021-05-07T11:25:17.876 chia.plotting.create_plots : INFO Starting plot 1/2
Starting plotting progress into temporary dirs: /home/user/chia_tmp and /home/user/chia_tmp
Plot size is: 32
Buffer size is: 4000MiB
Using 128 buckets
Using 2 threads of stripe size 65536
Starting phase 1/4: Forward Propagation into tmp files… Fri May 7 11:25:17 2021
Computing table 1
F1 complete, time: 303.163 seconds. CPU (131.95%) Fri May 7 11:30:21 2021
Computing table 2
Bucket 0 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 1 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 2 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 3 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 4 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 5 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 6 uniform sort. Ram: 3.847GiB, u_sort min: 1.125GiB, qs min: 0.281GiB.
Bucket 7 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 8 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 9 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Bucket 10 uniform sort. Ram: 3.847GiB, u_sort min: 0.563GiB, qs min: 0.281GiB.
Wait until it is finished this will take a long time, depending on your hardware. After this is done the plots are moved to the plots directory. The harvester should automatically harvest the plots then.
As my plots are still on creating I will continue here after they are ready, but you can also began like I did.
If you like that how-to, you can support me with an small amount of ETH or XCH, I would appreciate that!
I’m still on the very early beginning of my mining career