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