Use this page for updating the zend daemon directly from source
- Upgrading the zend daemon
- For Secure Nodes, restart the Secure Node Tracker
使用此页面直接从源更新zend守护程序
- 升级zend守护程序
- 对于安全节点,请重新启动安全节点跟踪器
注意:这些步骤假设您之前已经从源构建,请确保您的系统已安装依赖项 - 如果没有,请参见 - https://github.com/ZencashOfficial/zen/blob/master/README.md
Description描述 | Command | Upgrading the zend daemon指令 | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
升级zend守护程序 | ||||||||||||||||||||||||||||||||||||||
1 | Change (cd) to the 'horizen' directory | NOTE: this may be 将(cd)更改为“horizen”目录 | 注意:对于来自旧源的安装,这可能是'zencash' on older installations from source
| |||||||||||||||||||||||||||||||||||
2 | Remove (rm) the original 删除(rm)原始的'zen' directory目录 |
| ||||||||||||||||||||||||||||||||||||
3 | Clone the github repository克隆github存储库 |
| ||||||||||||||||||||||||||||||||||||
4 | Change (cd) to the 'zen' directory将(cd)更改为“zen”目录 |
| ||||||||||||||||||||||||||||||||||||
5 | Build and wait for completion建立并等待完成... |
| ||||||||||||||||||||||||||||||||||||
6 | Download the required parameters for zend NOTE: This will only download parameters that are missing下载zend所需的参数 注意:这只会下载缺少的参数 |
| ||||||||||||||||||||||||||||||||||||
7 | Stop zend and enforce a 30 second wait before the next command to ensure zend has fully shutdown | If zen-cli and zend have previously been copied to 停止zend并在下一个命令之前执行之前,等待30秒,以确保zend完全关闭 | 如果先前已将zen-cli和zend复制到/ usr / bin /
If 如果先前未将zen-cli and zend have not previously been copied to cli和zend复制到/ usr / bin /
| |||||||||||||||||||||||||||||||||||
8 | Copy zend and zen-cli to the 将zend和zen-cli复制到/ usr / bin / directory目录 |
| ||||||||||||||||||||||||||||||||||||
9 | Start zend with the 使用--rescan flag to start re-scanning the blockchain NOTE: Re-scanning may take quite some time, sometimes up to an hour or more (depends on node performance) Failure to do so may produce the following error when your node performs a challengerescan标志启动zend以开始重新扫描区块链 注意:重新扫描可能需要相当长的时间,有时长达一个小时或更长时间(取决于节点性能)
|
| ||||||||||||||||||||||||||||||||||||
10 | After the re-scan is complete, the updated zend version will be displayed, the following output will be shown, with the versions in bold NOTE: You may see the error as in the example if zend has not completed it's rescan, this is normal. Re-enter the last command periodically to check it's status ***CHECK FOR "version": 2001850, after ~Jul 5, 2019,***NOTE: Zend version 2.0.17 will deprecate at block #555555, approximately Jul 23, 2019重新扫描完成后,将显示更新的zend版本,将显示以下输出,版本以粗体显示 注意:如果zend尚未完成重新扫描,您可能会看到示例中的错误,这是正常的。 定期重新输入最后一个命令以检查其状态 ***检查“版本”:2001850,在2019年7月5日之后,***注意:Zend版本2.0.17将在块#555555(大约2019年7月23日)弃用 |
| ||||||||||||||||||||||||||||||||||||
11 | Stop the current instance of zend running with the 使用--rescan flagrescan标志停止当前运行的zend实例 |
| ||||||||||||||||||||||||||||||||||||
12 | Start zend monitoring services after the upgrade has been completed | For installations using systemd (assumes the unit file is named 升级完成后启动zend监控服务 | 使用systemd安装(假设单元文件名为'zend.service' ))
用monit安装
手动启动 zend
| |||||||||||||||||||||||||||||||||||
Restarting zentracker重新启动zentracker | ||||||||||||||||||||||||||||||||||||||
13 | Restart the Node Tracker after zend has started | For installations using systemd (assumes the unit file is named 'zentracker在zend重新启动后重新启动zentracker | 使用systemd安装(假设单元文件名为'zend.service'))
用pm2安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|