Installation and deployment of fabric

Source: Internet
Author: User

Talking about the Super ledger, the Super Ledger is a blockchain development platform, a blockchain open source project led by the Linux Foundation, designed to create a cross-domain blockchain application, and fabric is a framework project for the Super ledger.

The next step is to introduce the installation and deployment of fabric, and choose Ubuntu 16.04 as the platform.

1 Installation of the development environment

1.1 Installing the Docker operating environment
Docker is a lightweight container environment, similar to a virtual machine.
The installation commands are as follows:

$ sudo apt install Docker.io
$ sudo apt install docker-compose

Check whether the installation was successful:

$ docker-v
Docker version 1.13.1, build 092cba3
$ docker-compose-v
Docker-compose version 1.8.0, build unknown

1.2 Installing the Go Language development environment

$ sudo apt-get install Golang

Configuring the environment, modifying the ~/.BASHRC file

Export Gopath=/home/fc/work/golang/code: $PATH
Export Gobin=/home/fc/work/logang/bin: $PATH
Export path= $PATH: $GOPATH

1.3 Installing node. js and NPM

installation command:

$ sudo apt install nodejs-legacy
$ sudo apt-get install NPM

To view the installed version:

$ node-v
v4.2.6
$ npm-v
3.5.2

2 Fabric Components Download

$ mkdir Fabric
$ CD fabric/
$ Curl-ssl Https://goo.gl/iX9dek | Bash

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.