fabric 1.4 环境搭建准备工作

一:安装cURL

下载地址:
https://curl.haxx.se/download.html
大部分系统已经自带了curl

命令 curl --version 查看是否已经安装,查看版本信息

二:安装docker

Docker version Docker 17.06.2-ce or greater is required.

命令 docker --version 查看是否已经安装,查看版本信息

安装查看:http://blog.51cto.com/1693346/2344568

三:安装Docker-Compose

Docker Compose version 1.14.0 or greater installed

命令 docker-compose --version 查看是否已经安装,查看版本信息

安装查看:http://blog.51cto.com/1693346/2344570

三:安装go环境

Go version 1.11.x is required.
必须要 go 1.11.x版本

查看版本命令:
go version

安装查看:http://blog.51cto.com/1693346/2344553

四:安装python环境

使用以下命令检查python 版本
python --version

centos7.5默认已经安装了Python 2.7.5
fabric node.js 需要用python 2.7才可以,如果为Python 3.5.1,需要退回到Python 2.7。

五:安装Node.js Runtime and NPM

Versions other than the 8.x series are not supported at this time.
fabric目前不支持8.x系列以外的其他版本
Node.js - version 8.x

查看版本命令:
node -v

安装查看地址:http://blog.51cto.com/1693346/2345186

六:安装git客户端

安装步骤参考:http://blog.51cto.com/1693346/2345206

查看版本命令:
git --version

参考:
https://hyperledger-fabric.readthedocs.io/en/release-1.4/prereqs.html

猜你喜欢

转载自blog.51cto.com/1693346/2345198