A Chia Harvest is a computer that farms Chia and connects back to a Master Node. You can almost think of it like the Master Node being a Pool and the harvesters as nodes on that “pool”.
Do note that we do not need the gui installed for this to work. Refer to this post to install Chia
Note: In the following commands we are assuming that the Chia directory is in your home “~/” directory. Change the path if different.
Before we start you will need the ca directory from your Main node uploaded or accessible to your Ubuntu harvester. Will plan on posting how to do that soon.
Upload ca folder
You can use scp to upload the ca folder of the Harvester.
scp -r Desktop\ca email@example.com:~/
Note: The portions of the commands that are in bold you will need to change. If you put the ca directory in your home directory, then you should be fine.
chia init -c ~/ca
chia stop all
chia configure --set-farmer-peer 192.168.1.4:8447
chia configure --enable-upnp false
chia plots add -d /media/user/plotdrive/
chia start harvester -r
Should be all set. You can check the Main Node to verify that the harvester is connecting.
Verify that the Linux user can write to the Chia Plot drives
The following command will give the ubuntu user write access to the drive. Change the path to your drive.
sudo chmod ugo+wx /media/username/your_drive
Create plots by specifying the Farmer Public Key and the Pool Public Key. You can get these from the Main Node. Plan on adding info on how to retrieve that info soon.
chia plots create -t /media/user/plotdrivetmp -d /media/user/plotdrive -f biglongublicfarmerkeyag934gh3bh3h4 -p biglongpoolpublickey129gmc2390243t-gg49
The following link has more information.