Skip to content

ZelNode Installation Script v2 (For MainNet)

Notifications You must be signed in to change notification settings

zelcash/ZelNodeInstallv2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

ZelNode Setup v2.3

zelnodev2.sh - A bash script to assist in setup/creation of ZelCash Node

NOTE: This script is the latest version for MainNet ZelNodes.

NOTE: This installation guide is provided as is with no warranties of any kind.

NOTE: This version of the script (v2.3) automatically detects your IP address, but also allows you to enter one manually.

If you follow the steps and use a newly installed Ubuntu Server 18.04 VPS, it will assist in configuring and start your Node.


Requirements

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

Steps

  1. Create a new VPS or use existing one.

VPS resource configuration is as follows: You can use Vultr: https://goo.gl/86MVfW or Digital Ocean: https://m.do.co/c/c9c22684c5db (link to $100 referral credit for new users)

For Basic, you can use Vultr $20/mo (60GB SSD/2xCPU/4GB RAM) or DO $20/mo (80GB SSD/2xCPU/4GB RAM)

For Super, you can use Vultr $80/mo (200GB SSD/6xCPU/8GB RAM) or DO $40/mo (160GB SSD/4xCPU/8GB RAM)

For BAMF, you can use DO $160/mo (640GB SSD/8xCPU/32GB RAM)

  1. Connect to your VPS server console using PuTTY terminal program, login as root and create new su user:
adduser <YOURUSERNAME>
usermod -aG sudo <YOURUSERNAME>
reboot -n
  1. Follow instructions to Create ZelNode Key using ZelCore Wallet

https://github.com/zelcash/zelcash/wiki/ZelNode-Control-Wallet-Guide-%7C-ZelCore

Launch Full Node Wallet & go to Tools | Open ZelNode Management | Create ZelNode Key

Click ZelNode Key to copy to clipboard

  1. Download script & begin installation of ZelNode

PLEASE BE SURE YOU ARE LOGGED IN AS YOUR USERNAME BEFORE RUNNING THIS SCRIPT

sudo wget -O zelnode.sh https://raw.githubusercontent.com/zelcash/ZelNodeInstallv2/master/zelnodev2.sh && sudo chmod u+x zelnode.sh && sudo bash ./zelnode.sh

Follow instructions to run the install script which will install and configure your node with all necessary options. Be ready to paste your ZelNode Key when asked.


NOTE: This process may take anywhere from 5 to 15 minutes, depending on your VPS HW specs.

Once the script completes, it will output the wallet info, which shows the sync status. Make sure blocks is > 0.


Troubleshooting

plu.sh - A bash script to update ownership of blockchain files to ensure proper function of the ZelCash daemon

NOTE: Nodes that were installed with an earlier version of this script must run the Pre-Launch Update.

To run Pre-Launch Update:

  1. Login to your ZelNode VPS with the username used to create the node
  2. Run the following command
sudo wget -O plu.sh https://raw.githubusercontent.com/zelcash/ZelNodeInstallv2/master/plu.sh && sudo chmod +x plu.sh && bash ./plu.sh
  1. Reboot your VPS
sudo reboot -n
  1. Log back into your ZelNode VPS and verify Node is running
sudo zelcash-cli getinfo

A special thank you to AltTank fam, dk808, Skyslayer, & Packetflow for their contributions to this scrypt, and the ZelCash Team for debugging and assistance.

About

ZelNode Installation Script v2 (For MainNet)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%