当前位置:网站首页>(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边栏推荐
- How to confirm the storage mode of the current system by program?
- ICLR 2022 | 基于对抗自注意力机制的预训练语言模型
- Windows Auzre 微软的云计算产品的后台操作界面
- 浅谈网络安全之文件上传
- Efficient ETL Testing
- OpenNMS separation database
- The application of machine learning in software testing
- 让 Rust 库更优美的几个建议!你学会了吗?
- UE4 blueprint learning chapter (IV) -- process control forloop and whileloop
- CUDA exploration
猜你喜欢

On the problems of born charge and non analytical correction in phonon and heat transport calculations

让我们,从头到尾,通透网络I/O模型

Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200

专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统

Flutter life cycle

View

Signed and unsigned keywords

Traversal of a tree in first order, middle order, and then order

Financial professionals must read book series 6: equity investment (based on the outline and framework of the CFA exam)

Bipartite graph determination
随机推荐
Efficient ETL Testing
Matlab tips (27) grey prediction
为了交通安全,可以做些什么?
View
POJ 1094 sorting it all out
金融人士必读书籍系列之六:权益投资(基于cfa考试内容大纲和框架)
Puppeter connects to the existing Chrome browser
存币生息理财dapp系统开发案例演示
Some suggestions for foreign lead2022 in the second half of the year
Slide the uniapp to a certain height and fix an element to the top effect demo (organize)
UVa 11732 – strcmp() Anyone?
Dayu200 experience officer homepage AITO video & Canvas drawing dashboard (ETS)
机试刷题1
Project duplicate template
Method of canceling automatic watermarking of uploaded pictures by CSDN
允许全表扫描 那个语句好像不生效set odps.sql.allow.fullscan=true;我
AcWing 4299. Delete point
hdu 5077 NAND(暴力打表)
动作捕捉用于蛇运动分析及蛇形机器人开发
DevSecOps软件研发安全实践——发布篇