当前位置:网站首页>3. deploy the fabric2.2 cluster (use the official demo)
3. deploy the fabric2.2 cluster (use the official demo)
2022-06-13 07:51:00 【Mingshen special worry】
We will build it step by step Fabric2.2 Version of blockchain network , from 0 Start setting up the server environment 、 To the operation official Demo colony 、 Create channels 、 Installation contract , And complete the development of agricultural product traceability project based on blockchain from zero . It is applicable to friends without blockchain development experience , If you have experience, please detour .
In the previous section, the author bought a new ECs , And install docker as well as docker-compose, Next, the author works with you , Do not omit every operation step , Ensure that everyone can successfully deploy the blockchain cluster . The environment is ready , This section downloads Fabric 2.2 official demo, And deploy the blockchain cluster .
1) install git command
Later from github Upload and download Fabric Source code , Install first git command .
yum install -y git
2) download Fabric 2.2.1 Version code
Fabric The source code in github On , The download process is a little slow or interrupted . Execute again after the download is interrupted git clone command ,git clone In command -b v2.2.1 Means download Fabric Of 2.2.1 Branch .
cd /root
git clone -b v2.2.1 https://github.com/hyperledger/fabric.git
3) Download dependent binary 、 Mirror image
perform bootstrap.sh The script will download peer、cryptogen Wait for the command line tool , The blockchain network will be deployed 、 These commands are used in contract management and other operations , Second, Download peer、order、ccenv Equal image . This step is also very slow , If interrupted, please try again .
边栏推荐
- 2021-10-08
- 8. process status and transition
- Go 接口实现原理【高阶篇】: type _interface struct
- Three handshakes and four waves of TCP protocol and why------ One two pandas
- First graphical interface (modified version)
- 22 | adventure and prediction (I): hazard is both "danger" and "opportunity"
- AQS - detailed explanation of reentrantlock source code
- 论文笔记: 多标签学习 BP-MLL
- Adding certificates to different systems
- A troubleshooting process for database timeout caused by SQL misguided
猜你喜欢

获取类的属性

2021-10-20

Redis learning journey sentinel mode

2022 simulated examination question bank and online simulated examination of hoisting machinery command examination questions

IDS persistence ---rdb

Redis master-slave replication - underlying principle

25 | 冒险和预测(四):今天下雨了,明天还会下雨么?

Three handshakes and four waves of TCP protocol and why------ One two pandas

MySQL Gtid_ Executed and gtid_ Purged modification time
![[log4j2 log framework] modify dump log file permissions](/img/30/3c42d1f77ce0edc5d538c41c72826d.jpg)
[log4j2 log framework] modify dump log file permissions
随机推荐
[MySQL] online lock free delay free DDL artifact GH OST
9. process control
P7712 [Ynoi2077] hlcpq
17 | establish data path (upper): instruction + operation =cpu
uniapp 小程序根据权限动态生成 tabbar
21 | pipeline oriented instruction design (Part 2): How did Pentium 4 fail?
String source code analysis
Go 接口实现原理【高阶篇】: type _interface struct
Redis learning journey sentinel mode
Redis learning journey - persistence
安装CUDA+CUSP环境,并创建第一个HelloWord入门工程
[introduction to flirting with girls on Valentine's day -- 63 lines of code to win]
[tools for quickly creating MySQL stand-alone and cluster test environments] dbdeployer
Awk use
Openharmony notes ----------- (I)
【clickhouse专栏】基础数据类型说明
MySQL row column conversion (updated version)
Some optimization for seckill project
Redis' underlying data structure -- SDS
2021-10-08