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

相关推荐
帅得不敢出门44 分钟前
Ubuntu打开中文文本乱码
linux·运维·ubuntu·vim
Black_Cat_yyds2 小时前
docker host模式问题
运维·docker·容器
秉承初心2 小时前
Nginx核心原理以及案例分析(AI)
运维·nginx
dancing9993 小时前
linux下的Redis的编译安装与配置
linux·运维·redis
yjsstar4 小时前
Linux的web服务器的部署及优化
linux·运维·服务器
IT专业服务商5 小时前
DELL R770 服务器,更换OCP模块!
运维·服务器·硬件架构·硬件工程·开闭原则
群联云防护小杜5 小时前
如何有效防御服务器DDoS攻击
运维·服务器·前端·tcp/ip·安全·ddos
悟空聊架构6 小时前
用 CodyBuddy 帮我写自动化运维脚本
运维·自动化·codebuddy首席试玩官
christine-rr7 小时前
【25软考网工】第五章(8)路由协议RIP、OSPF
运维·网络·网络工程师·软考·考试
漫谈网络8 小时前
SSHv2 密钥交换(Key Exchange)详解
运维·ssh·自动化运维·devops·paramiko·sshv2