CHIA小技巧!阿里云帮你来P图
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">咱们</span><span style="color: black;">能够</span>利用各大云服务,批量租用<span style="color: black;">设备</span>去绘图。</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">绘图完成之后,只需要把绘图完成的<span style="color: black;">最后</span>文件下载到自己的机械硬盘,即<span style="color: black;">能够</span>把租来的所有<span style="color: black;">设备</span>释放掉。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">这个<span style="color: black;">办法</span>有以下的特点:</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">1、成本虽然<span style="color: black;">亦</span>不低,但相<span style="color: black;">针对</span><span style="color: black;">办法</span>一<span style="color: black;">来讲</span>的话,还是低不少的。<span style="color: black;">按照</span>我自己亲测,租用阿里云一台2核4G,500G固态硬盘空间的主机,每小时只需要9毛5,完成101G的绘图需要10小时。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">亦</span><span style="color: black;">便是</span>完成101G的绘图,纯租用<span style="color: black;">设备</span>的<span style="color: black;">花费</span>只需要10块钱,但还有<span style="color: black;">另一</span>一个成本,<span style="color: black;">便是</span>把这个101G的文件<span style="color: black;">经过</span>外网下载自己的机械硬盘,阿里云闲时(0点-8点)外网流量是0.25元/G,<span style="color: black;">亦</span><span style="color: black;">便是</span>下载101G大概需要25元。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">因此</span>利用阿里云的<span style="color: black;">设备</span>完成101G绘图的总成本大概是35块。(<span style="color: black;">倘若</span>量大<span style="color: black;">能够</span>找阿里云代理,返点<span style="color: black;">通常</span>15%)</span></strong><span style="color: black;">那样</span><span style="color: black;">倘若</span>要在一天完成100T的绘图,<span style="color: black;">那样</span>需要租用1000台<span style="color: black;">设备</span>,总成本大概是 35 * 1000 = 35000元,这个成本只是<span style="color: black;">办法</span>一的零头。</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/204dca1c07ed49faaca959f4c6f35018~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1729509557&x-signature=KExhM0EDqPYmMoUguTIvGPK739g%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">2. 不需要担心固态硬盘坏掉,即使坏掉<span style="color: black;">亦</span>是云服务商自己的问题,<span style="color: black;">咱们</span>损失的只是绘图的时间,<span style="color: black;">况且</span><span style="color: black;">咱们</span>一台<span style="color: black;">设备</span>只绘一个图,损失的时间不会太多。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">详细</span>操作<span style="color: black;">过程</span>(以Linux主机和加入hpool矿池为例子,需要懂得Linux的<span style="color: black;">有些</span>基本操作)</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">1. </span></strong><span style="color: black;">去阿里云购买云主机(ECS),点击原文链接<span style="color: black;">就可</span><span style="color: black;">转</span>阿里云ECS购买页面。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">2. </span></strong><span style="color: black;">点立即购买按钮跳去购买页面,付费模式<span style="color: black;">选取</span>按量付费,<span style="color: black;">举荐</span>配置如下面两张图所示。</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/ec635691f8e749aaaf474d3e88ff65ba~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1729509557&x-signature=Mm%2FWK3kYxx0a6wGP7R40ngKd5wA%3D" style="width: 50%; margin-bottom: 20px;"></div>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/285789e795b14399b935fb3bc83b7b8e~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1729509557&x-signature=UBTc7qdWEfsvchh6XJwXRcBJbN4%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">3. </span></strong><span style="color: black;"><span style="color: black;">经过</span>ssh登录云主机</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">4. </span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">去</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">https://github.com/hpool-dev/chia-plotter/releases 下载绘图命令行工具,Linux的需要下载名为</p>chia-plotter-v0.11-x86_64-linux-gnu.zip的压缩包。
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">5. </span></strong><span style="color: black;">解压上一步的下载回来的压缩包,进入绘图程序目录,执行以下命令<span style="color: black;">起始</span>绘图:</span></span></p><span style="color: black;">nohup</span> <span style="color: black;">./chia-plotter-linux-amd64</span> <span style="color: black;">-action</span> <span style="color: black;">plotting</span> <span style="color: black;">-plotting-fpk</span> <span style="color: black;">你的farmkey</span> <span style="color: black;">-plotting-ppk</span> <span style="color: black;">你的poolkey</span> <span style="color: black;">-plotting-n</span> <span style="color: black;">1</span> <span style="color: black;">-r</span> <span style="color: black;">4</span> <span style="color: black;">-d</span> <span style="color: black;">/root/plot</span> <span style="color: black;">-t</span> <span style="color: black;">/root/temp</span> <span style="color: black;">-2</span> <span style="color: black;">/root/temp</span> <span style="color: black;">-p</span> <span style="color: black;">&</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">6. </span></strong><span style="color: black;">等绘图完成之后,将<span style="color: black;">最后</span>完成的文件<span style="color: black;">经过</span>内网拷贝(内网拷贝不收流量<span style="color: black;">花费</span>,<span style="color: black;">况且</span>速度<span style="color: black;">火速</span>)到阿里云的对象存储(OSS),最后再<span style="color: black;">经过</span>OSS的下载工具下载到自己的机械硬盘上。<span style="color: black;">亦</span>许你会很奇怪为啥不直接从主机下载,而要先复制到OSS,<span style="color: black;">由于</span>OSS不限速,下载速度<span style="color: black;">能够</span><span style="color: black;">火速</span>,并且OSS的下载工具<span style="color: black;">能够</span>断点续传,不怕下到一半断网。</span></span></p>
同意、说得对、没错、我也是这么想的等。 你的见解真是独到,让我受益匪浅。
页:
[1]