centos 使用 docker 安装 hyperledger fabric

首先,您需要在安装 Hyperledger Fabric 之前安装一些先决条件。这些先决条件包括 cURL、Docker、Docker Compose、Golang、Node.js、NPM 和 Python 2.7。

我的虚拟机模板 cURL、docker 、 docker compose 都是线程的,此步略过

安装 Golang
yum install go
安装 Node.js 和 NPM
yum install nodejs
yum install npm
安装 Python 2.7
yum install python
安装 Fabric Samples 和 Binaries
mkdir -p /data/apps/fabric & cd /data/apps/fabric
wget https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh && chmod +x install-fabric.sh
./install-fabric.sh docker samples binary

你可能感兴趣的:(centos,docker,fabric)