Hyperledger fabric下载安装

下载Hyperledger fabric Sample源码

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

cd fabric-samples

下载平台特定的二进制文件

curl -sSL https//goo.gl/byy2Qj    |    bash -s 1.0.5

下的慢

离线下载的网址

https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/

Mac下载Hyperledger-fabric-darwin-amd64-1.0.5.tar.gz

https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/darwin-amd64-1.0.5/

将Hyperledger-fabric-darwin-amd64-1.0.5.tar.gz解压到fabric-sample

fabric-sample解压生成bin

由于需要安装docker images,可以将sh拷贝到项目组中

https://goo.gl/byy2Qj

在fabric-sample里vi init.s

把网页里的东西copy进去,

运行./init.sh

$./init.sh 1.0.5 

-bash: ./init.sh:Permission denied

init.sh权限不够,init.sh赋权限

$chmod -R 777 init.sh

$./init.sh 1.0.5 

发布了32 篇原创文章 · 获赞 40 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/qq_27467365/article/details/87908886