Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
metadeploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nebula
metadeploy
Commits
00fc855c
Commit
00fc855c
authored
Dec 01, 2023
by
李伟@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme.md
parent
62bbb8df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
readme.md
host/readme.md
+8
-8
No files found.
host/readme.md
View file @
00fc855c
## 修改各个服务的docker image 版本;在 [host.sh](./host.sh)里 ;
## 修改各个服务的docker image 版本;在 [host.sh](./host.sh)里 ;
## 初始化
## 初始化
*
p2p种子节点初始化执行: sudo ./host.sh /newdisk/node xxx.xxx.xxx.xxx 生成初始化的启动脚本;
*
p2p种子节点初始化执行: ./host.sh /newdisk/node xxx.xxx.xxx.xxx(./host.sh /newdisk/node 35.177.15.217)生成种子节点的初始化启动脚本;
*
./host.sh 初始化数据,默认生成两个节点的启动脚本,sudo ./host.sh 分布式启动脚本;
*
查看p2p enr: cat /newdisk/node/net/1/discovery-enr
*
非p2p种子节点初始化执行: ./host.sh /newdisk/node xxx.xxx.xxx.xxx enr: (./host.sh /newdisk/node 35.177.15.217 enr:-JG4QF7PRuoLaWsVcj4eidVNDYFWHifqET6W_i6RcMJH1LLcAts5DAkUOex_kWjnwnJnTYYi-OBj05U7Rd_9jklqqd-GAYwfj3pegmlkgnY0gmlwhCOxD9mJc2VjcDI1NmsxoQJ81pyuyqa2QoPztOPsCqpkcW1gJwUxOcSJuWr9VUNavIN0Y3CCdn2DdWRwgnZ-)
## 启动
*
./start-1.sh 的启动脚本,带共识排序的服务;其他的不带;
连接sentry、net服务的地址在
[
sentry
](
./sentry/app.json
)
和
[
net
](
./host.sh
)
里修改;
*
先启动./start-1.sh 节点;然后启动其他节点;然后发送测试交易;
## 启动
[
genesis.json
](
./nebula/genesis.json
)
里指定初始的地址;
*
p2p种子节点启动脚本: ./start-1.sh
*
非p2p种子节点启动脚本: ./start-2.sh
## 停止
## 停止
*
各个节点执行对应的./stop-x.sh
*
p2p种子节点停止: ./stop-1.sh
*
非p2p种子节点停止: ./stop-2.sh
## 测试发送
## 测试发送
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment