当前位置:网站首页>(1) Chang'an chain learning notes - start Chang'an chain
(1) Chang'an chain learning notes - start Chang'an chain
2022-07-06 23:12:00 【InfoQ】
# Create a learning directory
mkdir chainmaker-learn
# Entry directory
cd chainmaker-learn# Download project source
git clone https://git.chainmaker.org.cn/chainmaker/chainmaker-go.git
# Download the source code of certificate tool
git clone -b v2.2.0 https://git.chainmaker.org.cn/chainmaker/chainmaker-cryptogen.git

# Enter the certificate tool source code directory , structure
cd chainmaker-cryptogen
make

# Enter the tool directory of the main source code
cd chainmaker-go/tools
# Soft connection chainmaker-cryptogen To tools Under the table of contents
ln -s ../../chainmaker-cryptogen/ .

chainmaker-go/scriptsprepare_pk.shchainmaker-go/build# Go to the script Directory
cd scripts/
# Generate 4 Nodes , Configuration of a chain
./prepare_pk.sh 4 1
When executing a script , Press all the way enter Default is good
The generated certificate directory is in /root/chainmaker-learn/chainmaker-go/build Under the table of contents 
# stay scripts Execute the script in the directory :
./build_release.sh
# Start Chang'an chain
$ ./cluster_quick_start.sh normal
# Close Chang'an chain
./cluster_quick_stop.sh
# Check whether the port number is activated
netstat -lptn | grep 1230
p2pp2p11301rpcrpc12301p2p11301、11302、11303、11304rpc12301、12302、12303、12304边栏推荐
- OpenNMS separation database
- 项目复盘模板
- Les entreprises ne veulent pas remplacer un système vieux de dix ans
- #DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)
- Dockermysql modifies the root account password and grants permissions
- Motion capture for snake motion analysis and snake robot development
- 2014 Alibaba web pre intern project analysis (1)
- Docker starts MySQL and -emysql_ ROOT_ Password = my secret PW problem solving
- POJ 1258 Agri-Net
- Graphite document: four countermeasures to solve the problem of enterprise document information security
猜你喜欢

GPT-3当一作自己研究自己,已投稿,在线蹲一个同行评议
Dockermysql modifies the root account password and grants permissions

Why are some people still poor and living at the bottom of society even though they have been working hard?

CSDN 上传图片取消自动加水印的方法

Les entreprises ne veulent pas remplacer un système vieux de dix ans

How to confirm the storage mode of the current system by program?

(shuttle) navigation return interception: willpopscope

企業不想換掉用了十年的老系統

How to choose indoor LED display? These five considerations must be taken into account

Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries
随机推荐
How to confirm the storage mode of the current system by program?
Rust knowledge mind map XMIND
机器人材料整理中的套-假-大-空话
The statement that allows full table scanning does not seem to take effect set odps sql. allow. fullscan=true; I
Docker mysql5.7 how to set case insensitive
Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
Redis persistence mechanism
Uniapp setting background image effect demo (sorting)
European Bioinformatics Institute 2021 highlights report released: nearly 1million proteins have been predicted by alphafold
ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
Dockermysql modifies the root account password and grants permissions
动作捕捉用于蛇运动分析及蛇形机器人开发
每人每年最高500万经费!选人不选项目,专注基础科研,科学家主导腾讯出资的「新基石」启动申报...
Thinkphp5 multi table associative query method join queries two database tables, and the query results are spliced and returned
Efficient ETL Testing
2014 Alibaba web pre intern project analysis (1)
HDU 5077 NAND (violent tabulation)
借助这个宝藏神器,我成为全栈了
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
华为云GaussDB(for Redis)揭秘第21期:使用高斯Redis实现二级索引