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
sudo curl -o- https://raw.githubusercontent.com/zcore-coin/masternode-auto/master/install.sh | bash
Follow the steps and save resumen information
After the MN is ZCore and running, you need to configure the desktop wallet accordingly. Here are the steps for ZCore Wallet
- Open the ZCore Desktop Wallet.
- Go to RECEIVE and create a New Address: MasterNode01
- Send 5000 ZCR to MasterNode01 address.
- Wait for 15 confirmations.
- Go to Tools -> "Debug console - Console"
- Type the following command: masternode outputs
- Go to Tools -> "Open Masternode Configuration File"
- 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
- Save and close the file.
- Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
- Click Update status to see your node. If it is not shown, close the wallet and start it again.
- Select your MN and click Start Alias to start it.
- Alternatively, open Debug Console and type:
masternode start-alias MasterNode01
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.
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