Preparation work for fabric 1.4 Environment Construction
1: install cURL download address: https://curl.haxx.se/download.html most systems already come with the curl command curl-- version to check whether it has been installed, view version information 2: install docker
Docker version Docker 17.06.2-ce or greater is required.
Command docker-- version to check whether it has been installed, check the version information
Installation View: https://blog.51cto.com/1693346/2344568
Three: install Docker-Compose
Docker Compose version 1.14.0 or greater installed
Command docker-compose-- version to check whether it has been installed, check the version information
Installation View: https://blog.51cto.com/1693346/2344570
Three: install the go environment
Go version 1.11.x is required.
Go version 1.11.x is required
View version command:
Go version
Installation View: https://blog.51cto.com/1693346/2344553
Four: install the python environment
Check the python version using the following command
Python-version
Centos7.5 has installed Python 2.7.5 by default.
Python 2.7 is required for fabric node.js. If it is Python 3.5.1, you need to return to Python 2.7.
Five: install Node.js Runtime and NPM
Versions other than the 8.x series are not supported at this time.
Fabric currently does not support versions other than 8.x series.
Node.js-version 8.x
View version command:
Node-v
Installation View address: https://blog.51cto.com/1693346/2345186
Six: install the git client
For installation steps, please see: https://blog.51cto.com/1693346/2345206
View version command:
Git-version
Reference:
Https://hyperledger-fabric.readthedocs.io/en/release-1.4/prereqs.html