How to setup a Chia Harvester on Ubuntu
How to setup a Chia Harvester on Ubuntu
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”. In this post we’ll talk about setting up a Chia Harvester on Ubuntu. Shouldn’t matter which version of Ubuntu. LTS or the latest should work fine.
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 on the harvester. Change the path if different.
Before we start you will need the ca directory from your Main/Master node uploaded or accessible to your Ubuntu harvester. You can get the CA directory from the following locations on Windows and Linux.
On Linux
~/.chia/mainnet/config/ssl/ca
On Windows
C:\User\username\.chia\mainnet\config\ssl\ca
You should be able to copy and paste the following path into Explorer to get to the correct directory.
%homepath%\.chia\mainnet\config\ssl\ca
Copy Chia ca directory
Copy this folder onto your Desktop, thumbdrive, network share, just some place you can access it.
Upload ca folder
You can use scp to upload the ca folder of the Harvester. In the following example we put the ca directory on our Windows desktop and we are uploading to our harvesters home directory.
scp -r Desktop\ca user@192.168.1.5:~/
Activate Chia
The rest of the commands are run on the harvester. You can either ssh or physically log into it. If Chia was installed in a different directory, then you will need to change the path.
cd chia-blockchain
. ./activate
Configure Harvester
You should be able to copy and paste all the following commands in, change the parts in bold as needed.
The –set-farmer-peer option is your main node’s ip address.
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.
Important Notes:
UPNP needs to be turned off. It can cause problems if there are multiple wallets running on a local network that both have upnp on.
Add your plot drive locations. We need something to harvest :)
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
Creating Plots
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.
https://github.com/Chia-Network/chia-blockchain/wiki/Farming-on-many-machines
This entry was posted in Chia, Crypto Currency and tagged blockchain, chia, crypto, farming, harvesters, mining by admin. Bookmark the permalink.
Leave a Reply
You must be logged in to post a comment.
How to setup a Chia Harvester on Ubuntu的更多相关文章
- 解决Ubuntu下vbox的(rc=-1908)
在Ubuntu下用虚拟机VBOX的时候总是遇到 Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (v ...
- ubuntu下openGL的配置方法
This is a simple tutorial to show a new linux user (such as myself) how to setup freeglut and OpenGl ...
- Virtualbox报错------> '/etc/init.d/vboxdrv setup'
Ubuntu下VirtualBox本来可以很好地用的,今天早上一来就报错了,--提示如下内容: ---------------------------------------------------- ...
- shell及脚本1——变量
一.shell shell是操作系统与用户之间的沟通的渠道,可以接收并执行用户的命令,有很多shell程序,目前linux默认使用bash shell程序. bash shell有很多实用功能,例如: ...
- CentOS VirtualBox启动虚拟及报错:VirtualBox error: Kernel driver not installed (rc=1908)
VirtualBox error: Kernel driver not installed (rc=1908) Hi all, Let me first say that this is my fin ...
- 配置Windows 2008 R2 64位 Odoo 8.0 源码PyCharm开发调试环境
安装过程中,需要互联网连接下载python依赖库: 1.安装: Windows Server 2008 R2 x64标准版 2.安装: Python 2.7.10 amd64 到C:\Python27 ...
- 配置Windows 2008 R2 64位 Odoo 8.0/9.0 源码开发调试环境
安装过程中,需要互联网连接下载python依赖库: 1.安装: Windows Server 2008 R2 x64标准版 2.安装: Python 2.7.10 amd64 到C:\Python27 ...
- Fedora安装VirtualBox时出现错误Kernel driver not installed (rc=-1908)的解决办法
新建虚拟机后启动时出现如下错误: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) ...
- Linux网络基础配置
这是看itercast视频的笔记 Linux网络基础配置 以太网连接 在Linux中,以太网接口被命令为:eth0, eth1等, 0,1代表网卡编号 通过lspci命令可以查看网上硬件信息(如果是u ...
- VirtualBox,Kernel driver not installed (rc=-1908)
http://hi.baidu.com/spt_form/item/316d6207b47b8ee03499020a VirtualBox,Kernel driver not installed (r ...
随机推荐
- OPTIRRA研究: TNF拮抗剂维持期优化减量方案[EULAR2015_SAT0150]
OPTIRRA研究: TNF拮抗剂维持期优化减量方案 SAT0150 OPTIMISING TREATMENT WITH TNF INHIBITORS IN RHEUMATOID ARTHRITI ...
- LeetCode算法训练-回溯 491.递增子序列 46.全排列 47.全排列 II
欢迎关注个人公众号:爱喝可可牛奶 LeetCode算法训练-回溯 491.递增子序列 46.全排列 47.全排列 II LeetCode 491. 递增子序列 分析 找出并返回所有数组中不同的递增子序 ...
- MySQ安装装
1.Linux安装 检查系统有没有之前安装过: rpm -qa | grep mysql 如果安装过卸载 rpm -e mysql // 普通删除模式 rpm -e --nodeps mysql // ...
- Intellij IDEA 通过数据库表生成带注解的实体类Generate MyPOJOs.groovy脚本的编写
//两段代码第一个是mybatis-plus的 第二个spring-jpa的,jpa的是我复制别人的,是本体,mybatis的是我改的//idea连接数据方法见 https://www.cnblogs ...
- CF1098D 题解
题意 传送门 对于一个元素个数大于 \(1\) 的可重集,每次取出两个数 \(x,y\) 合并.若 \(x\le y\le 2x\),则称其为危险合并.重复上述操作至无法合并. 给你一个初始为空的可重 ...
- MySQL5.7升级版本到8.0
升级二进制包安装的MySQL In-Place Upgrade(替代升级) 替代升级涉及到shutdown down旧版本的MySQL,用新版本的包替代旧版本的二进制包,用存在的数据文件目录重启MyS ...
- VMware-包体选择
3.二进制包如何选择3.1选择适合当前系统的版本号: ●找不到适合的,才去尝试别的系统版本号 ●el6兼容el5; el5无法安装el63.2选择适合cpu的架构: ●x86_ _64包 ...
- springboot-maven打包项目
在project 标签内,新增一下内容 <build> <plugins> <!--打包项目--> <plugin> <groupId>or ...
- c++练习271题:水仙花数
*271题 原题传送门:http://oj.tfls.net/p/271 题解: #include<bits/stdc++.h>using namespace std; int cf(in ...
- System.IO.FileNotFoundException: Could not load file or assembly 'System.IO.Compression.FileSystem系统找不到指定的文件
错误:System.IO.FileNotFoundException: Could not load file or assembly 'System.IO.Compression.FileSyste ...