Shell script to install a Cubex Masternode on a Linux server running Ubuntu 16.04. Use it on your own risk.
wget -q https://raw.githubusercontent.com/Visco33/Cubex/master/cub_install.sh
bash cub_install.sh
After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps for Windows Wallet
- Open the CUBEX Coin Desktop Wallet.
- Go to RECEIVE and create a New Address: MN1
- Send 10000 CUB to MN1.
- 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 Address Privkey TxHash Output_index
- Alias: MN1
- Address: VPS_IP:PORT
- Privkey: Masternode Private Key
- TxHash: First value from Step 6
- 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.
- Click Start All
- If you are not able to see your Masternode, try to close and open your desktop wallet.
cub-cli mnsync status
cub-cli getinfo
cub-cli masternode status
Also, if you want to check/start/stop cub , run one of the following commands as root:
systemctl status cub #To check the service is running.
systemctl start cub #To start cub service.
systemctl stop cub #To stop cub service.
systemctl is-enabled cub #To check whether or not the cub service is enabled on boot or not.