cephfs lotus testnet/3 interopnet 测试
作者:互联网
cephfs lotus testnet/3 interopnet 测试
1,cephfs lotus testnet/3 interopnet 测试
- 安装依赖
# apt update
# apt install mesa-opencl-icd ocl-icd-opencl-dev
# add-apt-repository ppa:longsleep/golang-backports
# apt update
# apt install golang-go gcc git bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev
- 设置环境变量
export FIL_PROOFS_PARAMETER_CACHE=/cephfs/storage/filecoin-proof-parameters-v24
export LOTUS_STORAGE_PATH=/cephfs/storage/a30/lotuswork/lotusstorage
export LOTUS_PATH=/cephfs/storage/a30/lotuswork/lotus
export WORKER_PATH=/cephfs/storage/a30/lotuswork/lotusworker
export TMPDIR=/cephfs/storage/a30/lotuswork/tmpdir
- 运行
nohup lotus daemon >> /cephfs/storage/a30/lotus.log 2>&1 &
- 手动创建512MB扇区矿工
# lotus-storage-miner init create-worker-key-t3ucinthaltaaoyr5mg5adsacloumfh3z3ip3y5puccc426gicopo4crkhm3okq53pp6ntebbdr3aukugungrq --sector-size 512MB
2,运行矿工
nohup lotus-storage-miner run >> /cephfs/storage/a30/miner.log 2>&1 &
3,远程矿工
--address
IP地址为远程矿工ip,端口自定义
nohup lotus-seal-worker run --address=192.168.1.181:3456 >> /cephfs/storage/a31/worker.log 2>&1 &
参考:
1.Ubuntu Installation
标签:a30,lotus,storage,apt,testnet,export,cephfs 来源: https://blog.csdn.net/u010953692/article/details/105254794