Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Tree
expandCollapseAlltrue
rootSecure and Super Nodes安全节点+超级节点搭建教程
startDepth0


Panel
borderColorgrey
bgColorwhite
titleColorblack
borderWidth1
titleBGColorwhite
borderStylesolid
titleLanguages


Introduction

This guide is intended for someone who is looking to setup a Horizen Secure/Super Node. A Secure/Super Node is intended to be installed on a Virtual Private Server (VPS), Virtual Machine (VM), or standalone server hardware with a 64-bit architecture. Setup will be performed from a command line interface or CLI. On Windows 7 64-bit and newer, this will most commonly be PuTTY, and Terminal on Mac OS and Linux.

The format of the guide is deliberately column-based providing a description on the left, alongside each of the steps, to clarify the exact purpose. A more experienced user may prefer to simply follow the commands in the right column. The guide supports a simple double-click copy and paste of each command into a terminal.

Where applicable, these images will be displayed to indicate if a particular step or page in the guide is specific to one or more operating system. If none are present, the steps apply universally.

简介

本指南适用于希望搭建Horizen安全/超级节点的用户。 安全/超级节点需在具有64位体系结构的虚拟专用服务器(VPS),虚拟机(VM)或独立服务器硬件上安装。 安装程序将从命令行界面或CLI执行。 在Windows 7 64位及更高版本上,这通常是PuTTY,Mac OS和Linux上的终端。 


指南的格式是以列为基础的,在左侧提供描述,并与每个步骤一起,以阐明确切的目的。 更有经验的用户可能更喜欢简单地按照右栏中的命令。 该指南支持简单的双击复制并将每个命令粘贴到终端中。


在一些特殊的情况下,将显示这些图像以指示指南中的特定步骤或页面是否特定于一个或多个操作系统。 如果不存在,则步骤适用于普遍。

           

Mac OS       Linux         Windows          

Toggle the sidebar on the left << with the [ key

For the best experience with the guide, maximize your window screen such that you do not have any horizontal scroll bar

DO NOT INSTALL AND RUN A SECURE/SUPER NODE UNDER THE ROOT USER. The guide details how to add a non-root user, under which the necessary processes will run.

Secure Nodes

NOTE: Our previous guidance advised to use a 4GB RAM VPS server with 2GB of swap on an SSD under Zen 2001150. Under Zen 2001450 these requirements have been reduced. We now recommend configurations with 2GB RAM and 2GB of swap on an SSD. 

The recommended total memory allocation is 4GB (RAM + swap). CPUs of an x86-64 Intel Haswell architecture (or AMD equivalent) and newer have been performing well. At this time, due to the size of the blockchain, the minimum storage requirement is 30GB.

We recommend 40GB or larger to allow room for blockchain growth. The storage minimum requirements and recommendations will be periodically increased as the size of the blockchain increases.

Super Nodes

NOTE: Storage allocation of 100GB is likely to change to free disk space when the full Super Node solution is implemented (estimated to be Q1 2019)

The total memory allocation required is 8GB+ of RAM (Not including swap). x86-64 Intel Haswell architecture (or AMD equivalent) CPUs and newer are recommended to meet performance requirements. Super Nodes must have at least 100GB of storage allocated to them.

Community Lists

See the Community VPS List for a list of VPS services our community uses with great success.

  • This list is updated as often as possible and does not reflect the full array of possible services that can be used for a Horizen Secure/Super Node

If you're uncomfortable with performing the setup and maintenance needed for a Secure/Super Node, you may prefer to reference the Community Hosting and Setup List for a list of node services offered by our community.

This list is updated as often as possible and does not reflect the full array of possible services that can be used for a Horizen Secure/Super Node

Node Operator Requirements

Further details regarding the Secure/Super Node criteria and reward eligibility are available on the following pages:

  • Secure Node Criteria and Reward Eligibility
  • Before you start - Secure Nodes
  • Super Node Criteria and Reward Eligibility
  • Before you start - Super Nodes
  • Super Node Requirements - FAQ
    DescriptionCommand1

    Domain Name Registration & Propagation

    A domain name registration (DNS record) is required for a Secure/Super Node. This must point to the external IP address of the Secure/Super Node. The value used for your DNS record is referred to as your Fully-Qualified Domain Name (FQDN). It will have a format along the lines of >> myhost.mydomain.com

    Before you begin configuration of your Secure/Super Node, verify your domain name has fully propagated. You can check this at "what is my dns?". If you're using an ipv4 public address, you have an "A" record, if you're using an ipv6 address, you have an "AAAA" record. Enter your FQDN into the search engine with your appropriate DNS record and search. If your FQDN has fully propagated, all the servers in the listing will have a green Image Removed check mark.

    For Super Nodes, both an A and AAAA record must be created for your DNS that resolves to your node's IPv4 and IPv6 addresses

    NOTE: Many VPS providers do not pre-configure IPv6, you must follow your providers instructions on setting up this connection. Once configured properly and added to your DNS with a AAAA record resolving to the same FQDN as the IPv4 address, you can verify proper connectivity with the commands listed below

    使用[键切换左侧<<侧边栏>

    为了获得指南的最佳体验,请最大化窗口屏幕,使您没有任何水平滚动条

    不要在ROOT用户下安装和运行安全/超级节点。 该指南详细说明了如何添加非root用户,在该用户下运行必要的进程。

    安全节点

    注意: 我们之前的指导建议在Zen 2001150下使用SSD上的2GB交换4GB RAM VPS服务器。在Zen 2001450下,这些要求已经降低。 我们现在建议在SSD上配置2GB RAM和2GB Swap. 

    建议的总内存分配为4GB(RAM +Swap)。 x86-64 Intel Haswell架构(或同等版本的AMD)和更新版本且表现良好的CPU。 此时,由于区块链的大小,最低存储要求为30GB.

    我们建议40GB或更大,以便为区块链日益增长留出空间。 随着区块链规模的增加,存储最低要求和建议将定期增加。

    超级节点

    注意: 当实施完整的超级节点解决方案(估计为2019年第一季度)时,100GB的存储分配可能会变为可用磁盘空间

    所需的总内存分配是8GB + RAM(不包括Swap)。 建议使用x86-64 Intel Haswell架构(或AMD等效)CPU及更高版本以满足性能要求。 超级节点必须至少分配100GB的存储空间.


    服务器服务商列表

    请参阅社区VPS列表 ,了解我们社区使用的VPS服务列表并祝搭建成功。

    • 此列表会尽可能频繁地更新,并不反映可用于Horizen安全/超级节点的所有可能服务

    如果您对执行安全/超级节点所需的设置和维护感到困惑或搭建难度大,您可能更愿意参考社区托管列表,以获取我们社区提供的节点服务列表。

    • 此列表会尽可能频繁地更新,并不反映可用于Horizen安全/超级节点的所有可能服务

    节点操作者要求

    有关安全/超级节点标准和奖励资格的更多详细信息,请参见以下页面



    描述指令
    1

    域名注册和传播

    安全/超级节点需要域名注册(DNS记录)。 这必须指向Secure / Super Node的外部IP地址。 用于DNS记录的值称为完全限定域名(FQDN)。 它将具有>> myhost.mydomain.com的格式

    在开始配置安全/ 超级节点之前,请验证您的域名是否已完全传播. 你可以在“我的dns是什么?”中查看。 如果您使用的是ipv4公共地址,则会有“A”记录,如果您使用的是ipv6地址,则会有“AAAA”记录。 使用适当的DNS记录和搜索在搜索引擎中输入您的FQDN。 如果您的FQDN已完全传播,则列表中的所有服务器都将具有绿色Image Added标记。  

    对于超级节点,必须为DNS创建A和AAAA记录,这些记录解析为节点的IPv4和IPv6地址

    注意: 许多VPS供应商不预先配置IPv6,您必须按照供应商的说明设置此连接。 正确配置并添加到DNS后,AAAA记录解析为与IPv4地址相同的FQDN,您可以使用下面列出的命令验证连接是否正确

    Widget Connector
    width640
    urlhttps://www.youtube.com/watch?v=zhZlX5lwths
    height360

    2

    Verify that you can reach your node (using the domain name) from your local machine. Replace the example (myhost.mydomain.com) in the command with your own FQDN确认您可以从本地计算机访问您的节点(使用域名)。 使用您自己的FQDN替换命令中的示例(myhost.mydomain.com).


    • Mac OS - use Terminal (press <CMD> + <SPACE> and type terminal, followed by <Enter>)使用终端(按<CMD> + <SPACE>键入终端,然后按<Enter>键)
    • Linux - open the Terminal application (exact steps differ per distribution)打开终端应用程序(每个分发的确切步骤不同)

    Ping IPv4

    Code Block
    ping -c 3 myhost.mydomain.com

    Ping IPv6

    Code Block
    ping6 -c 3 myhost.mydomain.com


    Panel
    borderColorgrey
    bgColorblack
    titleColorwhite
    borderWidth2
    titleBGColorgrey
    borderStylesolid
    titleTerminal

    satoshi@goldwasser:~$ ping -c 3 node01.zentest.win
    PING node01.zentest.win (123.123.123.123) 56(84) bytes of data.
    64 bytes from 123.ip-123-123-42.net (123.123.123.123): icmp_seq=1 ttl=52 time=27.5 ms
    64 bytes from 123.ip-123-123-42.net (123.123.123.123): icmp_seq=2 ttl=52 time=27.6 ms
    64 bytes from 123.ip-123-123-42.net (123.123.123.123): icmp_seq=3 ttl=52 time=27.7 ms

    --- node01.zentest.win ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 82.8ms
    rtt min/avg/max/mdev = 27.590/27.660/27.723/0.043 ms


    3

    Verify that you can reach your node (using the domain name) from your local machine. Replace the example (myhost.mydomain.com) in the command with your own FQDN.

    Open a command prompt (press <WinKey> + <r> and type cmd, followed by <Enter>)

    确认您可以从本地计算机访问您的节点(使用域名)。 使用您自己的FQDN替换命令中的示例(myhost.mydomain.com).

    • 打开命令提示符(按<WinKey> + <r>并键入cmd,然后按<Enter>键)

    Ping IPv4

    Code Block
    ping -n 3 myhost.mydomain.com -4

    Ping IPv6

    Code Block
    ping -n 3 myhost.mydomain.com -6


    Panel
    borderColorgrey
    bgColorblack
    titleColorwhite
    borderWidth2
    titleBGColorgrey
    borderStylesolid
    titleC:\WINDOWS\system32\cmd.exe

    C:\Users\turing>ping -n 3 node01.zentest.win -4

    Pinging node01.zentest.win [123.123.123.123] with 32 bytes of data:
    Reply from 123.123.123.123: bytes=32 time=181ms TTL=52
    Reply from 123.123.123.123: bytes=32 time=215ms TTL=52
    Reply from 123.123.123.123: bytes=32 time=178ms TTL=52

    Ping statistics for 123.123.123.123:
    Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 178ms, Maximum = 226ms, Average = 200ms



    Part 1 of 11 - Introduction and Domain Name Registration

    第1 步 /共 11步 - 简介和域名注册

    Insert excerpt
    Social Links友情链接Social Links
    友情链接
    nopaneltrue