Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build hyperledger fabric1.4 environment under Windows10

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to build hyperledger fabric 1.4 environment under Windows 10. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

Hyperledger fabric1.4 environment building under Windows 10

Prerequisites

Most of the content refers to the official configuration

Windows 10 Professional

1. Win10 Professional version of the school provides activation tools, but need to be activated in the environment of Win10 Professional version, so to reinstall the system (careful!).

2. one-stop service platform

3. Other ways please check

Git bash

1. Installation

2. Set autocrlf of git to false and longpaths to true.

set

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

Views

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

cURL

Windows extras prompt git comes with curl version is not new enough will report error, but my git comes with curl does not affect, so did not specifically upgrade

GO

ProgammingLanguage

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

GOPATH: the working directory, that is, the directory where the hyperledger code is placed.

Docker

Docker-compose installation docker and docker-compose installation docker for windows, docker for windows comes with docker-compose settings Alibaba Cloud docker image acceleration (otherwise it is very slow to pull images later) container image service console, to register

Set docker Mirror Right Docker to Settings

Write copied mirror addresses to Registry mirrors

Install

Samples, Binaries and Docker Imagesshared drivers Share your local drives (volumes) with Docker Desktop, so that they are available to your Linux containers.

implementation

Pull Code git clone https://github.com/hyperledger/fabric.git

Pull the code to the src directory of $GOPATH (create your own without src directory)

Execute Get Mirror Script./ scripts/bootstrap.sh

View mirror list docker image list

start

cd scripts/fabric-samples/first-network

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

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

Close./ byfn.sh -m down

Thank you for reading! About "how to build hyperledger fabric 1.4 environment under Windows 10" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report