Diagram of the Hyperledger Fabric 1.4 environment construction process under Windows 10

Diagram of the Hyperledger Fabric 1.4 environment construction process under Windows 10

ContentsHyperledger fabric1.4 environment setup under Windows 10PrerequisitesWindows 10 Professional EditionGit bashcURLGO Progamming LanguageDocker and Docker-composeInstall Samples, Binaries and Docker Imagesshared driversExecution

Hyperledger fabric1.4 environment construction under Windows10

Prerequisites

Most of the content refers to the official configuration

Windows 10 Pro

1. The school provides a win10 professional version activation tool, but it needs to be activated in the win10 professional version environment, so the system needs to be reinstalled ( be careful! ).

2. One-stop service platform


insert image description here

3. Please check other methods yourself

Git bash

1. Installation

2. Set git 's autocrlf to false and longpaths to true

set up

git config --global core.autocrlf false
	git config --global core.longpaths true

Check

git config --get core.autocrlf 
	git config --get core.longpaths

cURL

Windows extras prompts that the curl version that comes with git is not new enough and will report an error, but my git 's curl is not affected, so I didn't upgrade it specifically

insert image description here GO

Progamming Language

1. Install go, version: 1.13.1 Set the environment variable GOROOT :

2. GOPATH , the installation directory of go: the working directory, which is the directory where hyperledger code will be placed later

insert image description here Docker

and Docker-compose to install docker and docker-compose docker-compose to install docker for windows , docker for windows comes with docker-compose to set up Alibaba Cloud docker image acceleration (otherwise it will be very slow to pull the image later) container image service console, you need to register

insert image description here

Set the docker image right click docker to enter Settings

insert image description here

Registry mirrors mirrors

insert image description here Install

Samples, Binaries and Docker Images shared drivers Official Tips Share your local drives (volumes) with Docker Desktop, so that they are available to your Linux containers. Right-click docker and enter Settings

insert image description here
insert image description here

implement

Pull the code git clone https://github.com/hyperledger/fabric.git

Pull the code to the src directory of $GOPATH (if there is no src directory, create it yourself)

Execute the image script ./scripts/bootstrap.sh

View the image list docker image list

insert image description here

start up

cd scripts/fabric-samples/first-network

Initialize ./byfn.sh -m generate -c mychannel

Open ./byfn.sh -m up -c mychannel

Shut down ./byfn.sh -m down down

insert image description here

Summarize

The above is the graphic illustration of the hyperledger fabric1.4 environment construction process under Windows 10 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • Detailed steps to install Perl and Komodo IDE on Windows
  • The difference between PHP and Perl
  • Garbage Collection in Perl 6
  • The difference between using Sigils in Perl5 and Perl6
  • 3 special data types in Redis (BitMap, Geo and HyperLogLog)
  • Detailed explanation of the use cases of print, printf, and sprintf in perl

<<:  A brief discussion on creating cluster in nodejs

>>:  Simple usage examples of MySQL custom functions

Recommend

Detailed explanation of the use of filter properties in CSS

The filter attribute defines the visual effect of...

Detailed explanation of MYSQL database table structure optimization method

This article uses an example to illustrate the me...

Detailed discussion of several methods for deduplicating JavaScript arrays

Table of contents 1. Set Deduplication 2. Double ...

A brief discussion on the understanding of TypeScript index signatures

Table of contents 1. What is an index signature? ...

jQuery+Ajax to achieve simple paging effect

This article shares the specific code of jquery+A...

MySQL 8.0.22.0 download, installation and configuration method graphic tutorial

MySQL 8.0.22 download, installation and configura...

The docker-maven-plugin plugin cannot pull the corresponding jar package

When using the docker-maven-plugin plug-in, Maven...

A brief introduction to the command line tool mycli for operating MySQL database

GitHub has all kinds of magic tools. Today I foun...

Introduction to the use and difference between in and exists in MySQL

First put a piece of code for(int i=0;i<1000;i...

HTML form tag tutorial (3): input tag

HTML form tag tutorial, this section mainly expla...

Essential conditional query statements for MySQL database

Table of contents 1. Basic grammar 2. Filter by c...

A brief discussion on value transfer between Vue components (including Vuex)

Table of contents From father to son: Son to Fath...