Skip to content

Shell script to install a ZCore MasterNode on a Linux server running Ubuntu 16.04 x64. Use it on your own risk.

Notifications You must be signed in to change notification settings

zcore-coin/masternode-auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZCore Masternode Auto Install

Shell script to install a ZCore MasterNode on a Linux server running Ubuntu 16.04 x64. Use it on your own risk.
Multiples MN in same VPS not tested
This script was tested on www.vultr.com Vps


Installation:

sudo curl -o- https://raw.githubusercontent.com/zcore-coin/masternode-auto/master/install.sh | bash

Follow the steps and save resumen information

Desktop wallet setup

After the MN is ZCore and running, you need to configure the desktop wallet accordingly. Here are the steps for ZCore Wallet

  1. Open the ZCore Desktop Wallet.
  2. Go to RECEIVE and create a New Address: MasterNode01
  3. Send 5000 ZCR to MasterNode01 address.
  4. Wait for 15 confirmations.
  5. Go to Tools -> "Debug console - Console"
  6. Type the following command: masternode outputs
  7. Go to Tools -> "Open Masternode Configuration File"
  8. Add the following entry:
alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
  • Alias: MasterNode01
  • Address: VPS_IP:PORT #see resumen masternode install script
  • masternodeprivkey: Masternode Private Key #see resumen masternode install script
  • collateral_output_txid: First value from Step 6
  • collateral_output_index: Second value from Step 6
  1. Save and close the file.
  2. Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
  3. Click Update status to see your node. If it is not shown, close the wallet and start it again.
  4. Select your MN and click Start Alias to start it.
  5. Alternatively, open Debug Console and type:
masternode start-alias MasterNode01

Usage:

Login with MasterNode User set on install Script

zcore-cli mnsync status
zcore-cli getinfo
zcore-cli masternode status #This command will show your masternode status

Also, if you want to check/start/stop zcore , run one of the following commands as root:

systemctl status USER.service #To check the service is running.
systemctl start USER.service #To start zcore service.
systemctl stop USER.service #To stop zcore service.
systemctl is-enabled USER.service #To check whetether zcore service is enabled on boot or not.

Update:

Always back up your wallet before any update!!!
Just run the update if you have installed your MN with the script above.
Run as root.

sudo curl -o- https://raw.githubusercontent.com/zcore-coin/masternode-auto/master/update.sh | bash

About

Shell script to install a ZCore MasterNode on a Linux server running Ubuntu 16.04 x64. Use it on your own risk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages