fabric test-network启动

//按照这个来放,免得出错

mkdir -p $GOPATH/src/github.com/hyperledger

cd $GOPATH/src/github.com/hyperledger

获取fabric-samples源码

git clone https://github.com/hyperledger/fabric-samples.git

export FABRIC_LOGGING_SPEC=debug

cd fabric-samples

可自行选择版本

git checkout release-2.2

#查看版本

git branch

curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.2.0 1.4.7 0.4.18

export PATH=PATH:GOPATH/src/github.com/hyperledger/fabric-samples/bin

./network.sh up

docker ps -a

./network.sh up createChannel

./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go

后面按照这个来
使用Fabric的测试网络 --- hyperledger-fabricdocs master 文档

相关推荐
路由侠内网穿透.21 分钟前
fnOS 飞牛云 NAS 本地部署私人影视库 MoonTV 并实现外部访问
运维·服务器·网络·数据库·网络协议
Doro再努力30 分钟前
【Linux05】Linux权限管理深度解析(二)
linux·运维·服务器
Gofarlic_oms11 小时前
通过Kisssoft API接口实现许可证管理自动化集成
大数据·运维·人工智能·分布式·架构·自动化
Suchadar1 小时前
Docker基础命令(二)——数据卷管理端口映射与容器互联
运维·docker·容器
firstacui2 小时前
Docker容器网络管理与容器数据卷管理
运维·docker·容器
江畔何人初3 小时前
/etc/profile,.profile,.bashrc三者区分
linux·运维·云原生
会飞的土拨鼠呀3 小时前
Ubuntu系统缺少 iptables 工具
linux·运维·ubuntu
前端玖耀里3 小时前
详细介绍Linux命令dig和nslookup
linux·运维·服务器
星期五不见面3 小时前
jetson naon super使用 sudo /opt/nvidia/jetson-io/jetson-io.py 界面闪退
linux·运维·服务器
FreeBuf_3 小时前
AutoPentestX:面向 Linux 系统的自动化渗透测试工具包
linux·运维·自动化