使用此页面可以获得用于升级在安全节点或超级节点上运行的各种软件的常用命令
- 升级zend守护程序
描述 | 指令 | |
---|---|---|
升级zend守护程序 | ||
1 | 更新apt缓存和安装zen,如果有新版本,这将升级zend守护进程 注意:APT存储库已更新为2.0.19 | sudo rm -r /var/lib/apt/lists/* && sudo apt-get update && sudo apt-get install zen |
2 | 下载zend所需的参数 注意:这只会下载缺少的参数 | zen-fetch-params |
3 | 升级完成后停止zend | 使用systemd安装(假设单元文件名为'zend.service') sudo systemctl stop zend 用monit安装 sudo monit stop zend 手动启动 zend zen-cli stop && sleep 5 |
4 | 检查ZEND版本 ***检查“版本”:2.0.19,在2019年10月14日之后,***注意:Zend版本2.0.18将在块#610000(大约2019年10月26日)弃用 | zend --version Desired Output zenops@node01:~$ zend --version Zen Daemon version v2.0.19 Copyright (C) 2009-2019 The Bitcoin Core Developers This is experimental software. Distributed under the MIT software license, see the accompanying file COPYING This product includes software developed by the OpenSSL Project for use in the |
5 | 升级完成后启动zend监控服务 | 使用systemd安装(假设单元文件名为'zend.service') sudo systemctl start zend 用monit安装 sudo monit start zend 手动启动 zend zend |
重新启动 zentracker | ||
6 | 在zend重新启动后重新启动zentracker | 使用systemd安装 sudo systemctl restart zentracker 用pm2安装(假设跟踪器作为唯一或第一个进程运行,编号为0) pm2 restart 0 |