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 文档

相关推荐
baidu_1955278736 分钟前
qt集成openssl
运维·qt
奈斯ing1 小时前
【MySQL篇】高效学习官方文档指南(基于MySQL8.0版本详解)
运维·数据库·学习·mysql
小天源1 小时前
jenkins介绍与下载
运维·jenkins
烟雨书信2 小时前
ANSIBLE运维自动化管理端部署
运维·自动化·ansible
碎碎-li2 小时前
ANSIBLE(运维自动化)
运维·自动化·ansible
楼台的春风2 小时前
【Linux驱动开发 ---- 4.1_sysfs 详解】
linux·运维·c语言·数据库·人工智能·驱动开发·嵌入式硬件
天空之城夢主3 小时前
LVS 负载均衡群集
运维·负载均衡·lvs
听风lighting3 小时前
WebServer实现:muduo库的主丛Reactor架构
linux·运维·网络·c++·socket·webserver
luopeng2076634363 小时前
onlyOffice通过nginx自定义前缀代理
运维·nginx
Insist7533 小时前
linux操作系统---小白玩转shell脚本
linux·运维·服务器