ZelNode Beginners Guide | DigitalOcean & ZelCore

ZelNode Beginners Guide | DigitalOcean & ZelCore

Blockchain Technology
September 11, 2019 by admin
147
zelnode

This guide will assist you in setting up a ZelNode on a DigitalOcean VPS running Ubuntu 18.04.5 x 64

Use Goose’s video guide in conjection with these steps to help answer any questions by clicking here

If you require further assistance contact the support team on Discord or Telegram English / Chinese / Russian


Requirements

  1. ZEL Collateral (10K Basic / 25K Super / 100K BAMF)
  2. Controller wallet (ZelCore or ZelCash Swing Wallet)
  3. VPS running Linux Ubuntu 18.04 (benchmark requirements can’t be guranteed for servers that the team hasn’t tested)
  4. SSH client such as Putty

Contents

  • Section A : Preparing ZelCore Wallet
  • Section B : Creating DigitalOCean VPS
  • Section C : Downloading and Installing Putty
  • Section D : Connecting VPS and Installing ZelNode Script
  • Section E : Connecting and Starting ZelNode

Section A: Preparing ZelCore Wallet

Step 1 (if necessary)

  • Download the current ZelCore wallet based on your OS by clicking here
Example-OS

Step 2 (if necessary)

  • Download bootstrap file to drastically decrease sync time by clicking here

Step 3

  • Open your ZelCore wallet and choose ‘ZelCash’ (Click ‘My Assets’ and add ‘ZelCash’ if not already displayed in ‘Portfolio’ screen)
Example-OS

Step 4

  • ‘Full Node’
Example-OS

Step 5

  • ‘Launch Full Node’
Example-OS

Step 6

  • ‘Launch ZelCash’ when prompted
Example-OS

Step 7

  • Go into ‘Tools’ after wallet is 100% synced
Example-OS

Step 8

  • Open ZelNodes Management
Example-OS

Step 9

  • Setup ZelNodes
Example-OS

Step 10

  • ‘Backup all addresses’ (use a text file to save info, and store in multiple secure locations)
Example-OS

Step 11

  • Set automatic logout to ‘Never’
Example-OS

Step 12

  • Continue to the next step after zelcash.conf info is generated
Example-OS

Step 13

  • Choose which type of ZelNode you are going to set up
Example-OS

Proceed to the next section, leave ZelCore wallet open to continue setting up in future steps


Section B: Creating DigitalOcean VPS

Step 1


Step 2

  • After you have your account setup go here to create your ZelNode droplet
Example-OS

Step 3

  • Choose server type: ‘Ubuntu 18.04’ 

Step 4

  • Choose Droplet (Basic/Super/BAMF)
Example-OS
Example-OS
Example-OS

Step 5

Example-Location

(Consider choosing a data center not near you to help decentralize the network. The location of the data center does not affect your rewards or setup process.)


Step 6

Example-OS

Section C: Downloading and Installing Putty

Step 1

  • Download Putty here

Step 2

  • Select the correct installer depending upon your operating system, and follow the install instructions*
Example-Putty Installer

Section D: Connecting VPS and Installing ZelNode Script

Step 1

  • Copy your VPS IP (located within Droplets tab) 

Step 2

  • Open the Putty terminal and fill in the “Host Name” box with the IP address of your VPS
Example-PuttyLogin

Step 3

  • Once you hit ‘Open’ a security alert will open up (click yes)
Example-RootPassEnter

Step 4

  • Type “root” as the login/username
Example-Root

Step 5

  • Copy the root password that DigitalOcean emailed you

Step 6

  • Paste the password into the Putty terminal by right clicking (it will not show the password so just press enter)
Example-RootPassEnter

Step 7

  • Enter password for root (UNIX password same as Step 5)
  • Make new password and confirm
Example-RootPassEnter

Step 8

  • Update VPS with the following 2 commands

sudo apt-get update

sudo apt-get upgrade -y


Step 9

  • Adduser to secure your VPS, by adding a new username so you aren’t running everything as root
  • Run the command below and use a username that you want associated with this server (‘whodatbamf1’ is an example, you need to generate your own username)

adduser YOURUSERNAME

Example-Bash

Step 10

  • You will then need to make a new password associated with your new username. Hit ‘Enter’ for the next 5 lines after your new password has been set, then ‘Y’ to save your information.
Example-Bash

Step 11

  • Grant sudo permissions for your adduser by running the command below to activate it

usermod -aG sudo YOURUSERNAME


Step 12

  • Reboot server with the following command

sudo reboot -n

  • Close Putty terminal while server reboots

Section E : Connecting and Starting ZelNode (ZelCore and VPS)

Step 1 (ZelCore)

  • Go back to your ZelCore wallet and enter your VPS IP address
Example-installing

Step 2 (ZelCore)

  • Name your ZelNode
Example-installing

Step 3 (ZelCore)

  • Save your private key that is generated in ZelCore and enter on VPS when prompted
Example-installing

Step 4 (VPS)

  • Log back into your VPS with the new username and password from Section D: Steps 9 and 10

DO NOT RUN THE INSTALL SCRIPT AS ROOT, ONLY RUN IT AS THE NEW USER THAT WAS MADE IN STEP 9!!!!!!!!!!!!!!!


Step 5 (VPS)

  • Paste the code below into the Putty terminal then press enter

wget -O zelnode.sh https://raw.githubusercontent.com/zelcash/ZelNodeInstallv3/master/zelnodev3.sh && chmod +x zelnode.sh && ./zelnode.sh


HUGE SHOUTOUT TO GOOSE, SKYSLAYER AND DK808 FOR PUTTING TOGETHER THIS INSTALL SCRIPT


Step 6 (VPS)

  • Confirm IP and enter private key from Step 3
Example-installing

Step 7

  • Go to the ZelCash block explorer
https://explorer.zel.cash/
Example-installing

Step 8 (VPS)

  • Press any key, then CTRL-C when the blocks match explorer in Step 6
Example-installing
Example-installing

Step 9 (ZelCore)

  • Activate your ZelNode
Example-installing
  • Successfully started will show if everything is done properly (‘startzelnode local false’ isn’t needed)
Example-installing

(It will take 15 confirmations for your ZelNode to show up in ‘MY ZELNODES’)


Step 10

  • Run the following command in VPS to confirm that your ZelNode is showing ‘Status 4’ (If VPS does not show successfully started, wait 5 minutes and run the command again. Repeat if necesary)

sudo zelcash-cli getzelnodestatus

Example-installing
  • You can also view your ZelNode on the block explorer https://explorer.zel.cash/zelnodes
Example-installing

(It will show up as ‘PRE_ENABLED’ prior to 15 confirmations)


CONGRATULATIONS AND THANK YOU FOR BEING A PART OF THE COMMUNITY!!!!!!!!!!!!!

  • zelcashZelCash (ZEL) $ 0.045699 2.63%
  • ycashYcash (YEC) $ 0.272465 3.89%
  • bitcoinzBitcoinZ (BTCZ) $ 0.000108 9.57%
  • bitcoin-privateBitcoin Private (BTCP) $ 0.119406 5.32%
  • hushHush (HUSH) $ 0.070457 0.05%
  • snowgemSnowGem (XSG) $ 0.018750 0.38%
  • bithereumBithereum (BTH) $ 0.008934 21.36%