8. 启动fabric ledger的第一个网络

运行如下命令:

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