Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

使用此页面可以获得用于升级在安全节点或超级节点上运行的各种软件的常用命令

  • 升级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
Copyright (C) 2015-2019 The Zcash Developers
Copyright (C) 2015-2019 Zdeveloper.org
Copyright (C) 2015-2019 Zen Blockchain Foundation

This is experimental software.

Distributed under the MIT software license, see the accompanying file COPYING
or <http://www.opensource.org/licenses/mit-license.php>.

This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit <https://www.openssl.org/> and cryptographic software written
by Eric Young.

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



© 2019 Horizen. All rights reserved.


  • No labels