Ubuntu服务器运行Subspace节点和Farm
创始人
2025-01-21 11:34:20
0

提供Subspace 节点部署&性能优化&机房托管&运维监控等服务。myto88

磁盘格式化

将插入的磁盘格式化。

sudo mkfs.ext4 -m 0 -T largefile4     /dev/sd* 

磁盘挂载

此处为语雀内容卡片,点击链接查看:https://www.yuque.com/u25096009/lvoxat/fvr1ponvhybu364w

启动节点

下载官方node程序

GitHub - subspace/subspace: Subspace Network reference implementation

运行node

#运行节点 sudo  ./subspace-node-ubuntu-x86_64-v2-gemini-3h-2024-mar-29 run --chain gemini-3h --base-path /mnt/sdb/subnode --farmer --name Bensub01 --blocks-pruning 256 --state-pruning archive-canonical --rpc-methods unsafe --rpc-listen-on 0.0.0.0:9944 --rpc-cors all --rpc-max-connections 9999 --in-peers 150 --no-telemetry --prometheus-listen-on 0.0.0.0:9081  #自动挂起 sudo nohup  ./subspace-node-ubuntu-x86_64-v2-gemini-3h-2024-mar-29 run --chain gemini-3h --base-path /mnt/sdb/subspace-node --farmer --name Bensub01 --blocks-pruning 256 --state-pruning archive-canonical --rpc-methods unsafe --rpc-listen-on 0.0.0.0:9944 --rpc-cors all --rpc-max-connections 9999 --in-peers 150 --no-telemetry --prometheus-listen-on 0.0.0.0:9081 >subspacenode.log 2>&1 &  #查看日志  tail -f subspacenode.log 
--blocks-pruning 256 --state-pruning #为官方论坛提供的,下载兼容历史节点数据的修复模式。

启动Farm

下载官方farm程序

同node下载地址。

运行Farm程序

#启动Farm,path为P盘的路径 sudo ./subspace-farmer-0329 farm --reward-address stB2Jcf4GJTxr7eCzg3E9bdFbVyC4uBKm8kNBnCniRUjeZVTs path=/mnt/sdb/,size=1700G --node-rpc-url=ws://127.0.0.1:9944 --prometheus-listen-on 0.0.0.0:8080 --sector-encoding-concurrency 8 --sector-downloading-concurrency 16   #Farm挂起 sudo nohup ./subspace-farmer-0329 farm --reward-address stB2Jcf4GJTxr7eCzg3E9bdFbVyC4uBKm8kNBnCniRUjeZVTs path=/mnt/sdb/,size=1700G --node-rpc-url=ws://127.0.0.1:9944 --prometheus-listen-on 0.0.0.0:8080 --sector-encoding-concurrency 8 --sector-downloading-concurrency 16 >subfarm.log 2>&1 &  #查看日志 tail -f subfarm.log

启动Farm后,需要先同步Piece,同步完成后进行P盘,即Plotting sector,如下图所示:

服务器监控

监控服务器运行状态

监控P盘效率等

相关内容

热门资讯

必备攻略!微信微乐游戏辅助器-... 必备攻略!微信微乐游戏辅助器-是真的有外挂(辅助)app(有挂辅助)是一款可以让一直输的玩家,快速成...
揭秘一下!边锋干瞪眼ios辅助... 揭秘一下!边锋干瞪眼ios辅助微信(了解辅助插件)原来有透视手段揭秘一下!边锋干瞪眼ios辅助微信(...
2分钟辅助!pokemomo辅... 2分钟辅助!pokemomo辅助软件,wpk插件,详细教程(真实有挂)1、在pokemomo辅助软件...
一起来探讨!陕西扣点点脚本辅助... 《一起来探讨!陕西扣点点脚本辅助器-是真的有外挂(辅助)下载(有挂讲解)》 陕西扣点点脚本辅助器软件...
必备攻略!乐玩游戏辅助工具(辅... 必备攻略!乐玩游戏辅助工具(辅助辅助器)真是有透视模块1、完成乐玩游戏辅助工具有辅助插件,帮助玩家取...
1分钟辅助!wepoker透视... 1分钟辅助!wepoker透视功能下载,wepoker国外版透视,详细教程(有挂存在)1、很好的工具...
终于知道!789大菠萝攻略-有... 终于知道!789大菠萝攻略-有外挂(辅助)神器(有挂功能);789大菠萝攻略是一种具有地方特色的麻将...
2分钟细说!鸿狐拼十辅助(详情... 2分钟细说!鸿狐拼十辅助(详情辅助神器)竟然有透视教材该软件可以轻松地帮助玩家将鸿狐拼十辅助外卦神器...
第1分钟辅助!hhpoker作... 第1分钟辅助!hhpoker作弊码怎么用,wpk辅助软件,详细教程(有挂教程)1、实时hhpoker...
盘点几款!wepoker怎么买... 您好,wepoker怎么买辅助这款游戏可以开挂的,确实是有挂的,需要了解加微【136704302】很...