Hyperledger Fabric 2.1 搭建教程
Hyperledger Fabric 2.1 搭建教程
环境准备
版本
- Ubuntu 18.04
- go 1.14.4
- fabric 2.1
- fabric-sample v1.4.4
- nodejs 12.18.2
Docker 安装
- 卸载旧版本
sudo apt-get remove docker docker-engine docker.io containerd runc
- 安装依赖
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
- 添加 Docker 的官方 GPG 密钥
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- 设定稳定版仓库
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
- 更新源
sudo