8. 启动fabric ledger的第一个网络
运行如下命令:
- #1. 配置环境变量, fabirc的二进制工具
- export PATH=/root/bin:$PATH
- #2. 生成hyperledger fabric的各种区块链配置
- ./byfn.sh -m generate
- #3. 安装docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.20.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- 参考文档 https://github.com/docker/compose/releases
- #4. 启动first-network
- ./byfn.sh -m up