Building a Fabric Network (1)

Fabric V1.1.0 has been released, here is an article to introduce how to build the Fabric V1.1.0 network.

Install cURL

https://curl.haxx.se/download.html

 

Install Docker and Docker-Compose

Docker download address: https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/

Once installed, a series of operations are required to make docker commands executable without sudo.

  • 1. Create a docker group: sudo groupadd docker
  • 2. Add the current user to the docker group: sudo gpasswd -a ${USER} docker
  • 3. Restart the dokcer service: sudo service docker restart
  • 4. Refresh docker members: newgrp - docker

 

Docker-Compose download address: https://github.com/docker/compose/releases

Make Docker-Compose runnable

sudo chmod +x /usr/local/bin/docker-compose

 

install GO

Download address: https://golang.org/dl/

 

Install Node and NPM

wget https://nodejs.org/download/release/v8.9.0/node-v8.9.0-linux-x64.tar.gz

npm install npm@5.6.0 -g

Set environment variables sudo gedit ~/.bashrc for GO and node

 

Install Python

sudo apt-get install python

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324788029&siteId=291194637