当前位置:网站首页>(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边栏推荐
- 案例推荐丨安擎携手伙伴,保障“智慧法院”更加高效
- Les entreprises ne veulent pas remplacer un système vieux de dix ans
- On the problems of born charge and non analytical correction in phonon and heat transport calculations
- cuda 探索
- Introduction to network basics
- [IELTS speaking] Anna's oral learning record part1
- 专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统
- The application of machine learning in software testing
- The ceiling of MySQL tutorial. Collect it and take your time
- 企业不想换掉用了十年的老系统
猜你喜欢

DR-Net: dual-rotation network with feature map enhancement for medical image segmentation

Signed and unsigned keywords

Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries

Rust knowledge mind map XMIND

Flutter life cycle

Bipartite graph determination

#DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)

(flutter2) as import old project error: inheritfromwidgetofexacttype
DockerMySQL无法被宿主机访问的问题解决

Motion capture for snake motion analysis and snake robot development
随机推荐
Children's pajamas (Australia) as/nzs 1249:2014 handling process
Efficient ETL Testing
Puppeter connects to the existing Chrome browser
Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
Project duplicate template
使用云服务器搭建代理
Improving Multimodal Accuracy Through Modality Pre-training and Attention
OpenNMS分离数据库
案例推荐丨安擎携手伙伴,保障“智慧法院”更加高效
Machine test question 1
#DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)
儿童睡衣(澳大利亚)AS/NZS 1249:2014办理流程
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
Cloud native technology container knowledge points
Aardio - does not declare the method of directly passing float values
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
室内LED显示屏应该怎么选择?这5点注意事项必须考虑在内
dockermysql修改root账号密码并赋予权限
【全网首发】Redis系列3:高可用之主从架构的