当前位置:网站首页>(1)长安链学习笔记-启动长安链
(1)长安链学习笔记-启动长安链
2022-07-06 15:39:00 【InfoQ】
#创建学习目录
mkdir chainmaker-learn
#进入目录
cd chainmaker-learn#下载项目源码
git clone https://git.chainmaker.org.cn/chainmaker/chainmaker-go.git
#下载证书工具源码
git clone -b v2.2.0 https://git.chainmaker.org.cn/chainmaker/chainmaker-cryptogen.git

#进入证书工具源码目录,构建
cd chainmaker-cryptogen
make

#进入到主源码的工具目录
cd chainmaker-go/tools
# 软连接chainmaker-cryptogen到tools目录下
ln -s ../../chainmaker-cryptogen/ .

chainmaker-go/scriptsprepare_pk.shchainmaker-go/build#进入脚本目录
cd scripts/
#生成4个节点,一条链的配置
./prepare_pk.sh 4 1
执行脚本的时候,一路按enter默认就好
生成的证书目录在/root/chainmaker-learn/chainmaker-go/build目录下
#在scripts目录下执行脚本:
./build_release.sh
#启动长安链
$ ./cluster_quick_start.sh normal
#关闭长安链
./cluster_quick_stop.sh
#查看端口号是否启动
netstat -lptn | grep 1230
p2pp2p11301rpcrpc12301p2p11301、11302、11303、11304rpc12301、12302、12303、12304边栏推荐
- AcWing 4300. Two operations (minimum number of BFS searches)
- MySQL authentication bypass vulnerability (cve-2012-2122)
- Signed and unsigned keywords
- Sword finger offer question brushing record 1
- Puppeter connects to the existing Chrome browser
- DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
- Cloud native technology container knowledge points
- Introduction to network basics
- mysql拆分字符串作为查询条件的示例代码
- DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
猜你喜欢

ICLR 2022 | pre training language model based on anti self attention mechanism

Rust knowledge mind map XMIND

asp读取oracle数据库问题

机试刷题1

Signed and unsigned keywords

欧洲生物信息研究所2021亮点报告发布:采用AlphaFold已预测出近1百万个蛋白质

ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型

金融人士必读书籍系列之六:权益投资(基于cfa考试内容大纲和框架)

MySQL authentication bypass vulnerability (cve-2012-2122)

浅谈网络安全之文件上传
随机推荐
Aardio - integrate variable values into a string of text through variable names
Comparison between variable and "zero value"
POJ 1258 Agri-Net
How to achieve text animation effect
Is there any requirement for the value after the case keyword?
Redis 持久化机制
Return keyword
How big is the empty structure?
European Bioinformatics Institute 2021 highlights report released: nearly 1million proteins have been predicted by alphafold
Hard core observation 545 50 years ago, Apollo 15 made a feather landing experiment on the moon
C three ways to realize socket data reception
UDP programming
【全网首发】Redis系列3:高可用之主从架构的
Typescript get function parameter type
[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files
Windows auzre background operation interface of Microsoft's cloud computing products
Improving Multimodal Accuracy Through Modality Pre-training and Attention
Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
Is "applet container technology" a gimmick or a new outlet?
Thinkphp5 multi table associative query method join queries two database tables, and the query results are spliced and returned