私链搭建(Ubuntu)
安装需要的软件
#ubuntu18
sudo apt-get install curl docker docker-compose golang nodejs npm python设置环境变量
#~/.bashrc
export GOPATH=$HOME/gopath
export PATH=$PATH:$GOPATH/bin准备环境
#下载脚本
wget https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
#运行脚本,可以考虑将里面的docker命令前增加su
./bootstrap.sh运行私链
查看容器列表
查看交易细节
清理工作
最后更新于