Hyperledger Fabric 配置教程1.1.0(一):基本环境配置 - 天道酬勤的博客 - CSDN博客
https://blog.csdn.net/qq_41944960/article/details/84550695
在本篇文章上接Hyperledger Fabric基本环境配置,链接如上。本篇文章将进行Fabric源码的安装配置:
**
1下载Fabric项目
**
1.1创建文件夹:
mkdir -p $GOPATH/src/github.com/hyperledger
1.2进入文件夹:
cd $GOPATH/src/github.com/hyperledger
1.3下载fabric:
git clone https://github.com/hyperledger/fabric.git
注意:若提示git命令不可用,可yum install git安装一下,再执行下载命令。
1.4进入fabric文件夹:
cd fabric
1.5查看版本:
git branch -a
1.6切换到1.1版本:
git checkout release-1.1
1.7 查看脚本中的版本是否是1.1,如图:
cat /opt/gopath/src/github.com/hyperledger/fabric/scripts/bootstrap.sh