..

安装ipfs-cluster

准备

  • 升级 go 版本到 1.16.x 1
  • go 代理 2
    go env -w GO111MODULE=on
    go env -w GOPROXY=https://goproxy.cn,direct
    

安装 3

git clone https://github.com/ipfs/ipfs-cluster.git
cd ipfs-cluster
export GO111MODULE=on # optional, if checking out the repository in $GOPATH.
go install ./cmd/ipfs-cluster-service
go install ./cmd/ipfs-cluster-ctl
go install ./cmd/ipfs-cluster-follow

输出

$GOPATH/bin 目录下出现

ipfs-cluster-service
ipfs-cluster-ctl
ipfs-cluster-follow