您的位置:首页 > 其它

Ubuntu 16.04 安装Hyperledger/Fabric 1.1.0 Preview

2017-12-20 00:00 766 查看
前提,安装docker, curl, go,nodejs,jdk,参考https://my.oschina.net/u/1760711/blog/1530513

1. 下载 运行 https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh
$ cd ~/dev/hyperledger
$ ./bootstrap.sh

这个脚本中内置了一个版本,我运行的时候是1.0.4。

2. 设置GOPATH为/opt/gopath,因为example中很多yaml写死了这个路径,所以下面执行git clone目录应为 /opt/gopath/src/github.com/hyperledger/

git clone https://github.com/hyperledger/fabric.git git clone https://github.com/hyperledger/fabric-ca.git[/code] 3. Run e2e test

cd /opt/gopath/src/github.com/hyperledger/fabric/examples/e2e_cli/
./network_setup.sh up
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: