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

相关推荐
sky北城1 小时前
linux基本系统服务——DNS服务
linux·运维·服务器
Adorable老犀牛1 小时前
DockerFile文件执行docker bulid自动构建镜像
运维·docker·容器
IvorySQL2 小时前
PGSQL运维优化:提升vacuum执行时间观测能力
运维·postgresql·开源·开源数据库·ivorysql
心一信息5 小时前
如何在Ubuntu上部署excalidraw
linux·运维·ubuntu
人生匆匆5 小时前
linux ext4缩容home,扩容根目录
linux·运维·服务器
鱼骨不是鱼翅5 小时前
自动化框架pytest
运维·自动化·pytest
IT成长日记5 小时前
【自动化运维神器Ansible】YAML支持的数据类型详解:构建高效Playbook的基石
运维·自动化·ansible·数据类型·yaml·playbook
IT成长日记5 小时前
【自动化运维神器Ansible】YAML语法详解:Ansible Playbook的基石
运维·自动化·ansible·yaml
sakoba6 小时前
Docker学习其二(容器卷,Docker网络,Compose)
运维·网络·学习·docker·容器·基础
来自于狂人7 小时前
CentOS 镜像源配置与 EOL 后的应对策略
linux·运维·centos