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

相关推荐
小五传输40 分钟前
常用的文件摆渡系统:让数据安全高效跨越网络界限
大数据·运维·安全
2501_921939261 小时前
11.26LAMP-LNMP-分离部署
运维
牛哥带你学代码1 小时前
服务器运行常用指令
运维·服务器
这儿有一堆花2 小时前
Kali Linux:探测存活到挖掘漏洞
linux·运维·服务器
皮小白3 小时前
ubuntu开机检查磁盘失败进入应急模式如何修复
linux·运维·ubuntu
邂逅星河浪漫3 小时前
【CentOS】虚拟机网卡IP地址修改步骤
linux·运维·centos
IT逆夜4 小时前
实现Yum本地仓库自动同步的完整方案(CentOS 7)
linux·运维·windows
a***59264 小时前
用nginx正向代理https网站
运维·nginx·https
S***26754 小时前
linux上redis升级
linux·运维·redis
ifanatic5 小时前
[每周一更]-(第161期):分析服务器中内存即将爆满过程
运维·服务器