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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章