This is a auto update for anyone who followed my original Linode Chaincoin Masternode guide, simply copy & paste the below code in SSH anywhere:
chaincoind stop;cd /usr/local/bin;rm chaincoind -rf; rm chaincoin-cli -rf;wget http://highoncoins.com/chaincoin/centos7/chaincoin-cli; wget http://highoncoins.com/chaincoin/centos7/chaincoind;chmod 700 chaincoin*;cd ~;yum install -y libevent libevent-devel;chaincoind --daemon;sleep 300s;chaincoind masternode start;chaincoind getinfo;
Once that’s done you should see:
“version” : 90300
For those of you who want to backup your Chaincoin masternode wallet, here’s a simple way to do it.
First, log into your Chaincoin Masternode server using SSH, then type:
yum -y install mailx postfix;cd ~/.chaincoin;wget http://highoncoins.com/backup.sh;service postfix start
cd ~/.chaincoin;sh backup.sh firstname.lastname@example.org "wallet backup"
Note: PLEASE replace email@example.com with your email address and “wallet backup” is the subject you can also change to your liking.
Check your e-mail inbox after and you should have a backup in your e-mail inbox.
For those of you having trouble with your Chaincoin Masternode not receiving Chaincoins or maybe seeing POS Error, here’s a simple script I wrote that will auto restart if Chaincoind goes down, server restarts, or has POS errors.
This script is ONLY for those who followed my original guide! (You may be able to tweak it a bit for other VPS/platforms – UPDATE, works fine on Ubuntu with Vultr or Linode)
Copy and past the following into your SSH:
yum -y install cronie;wget http://highoncoins.com/check.sh -O ~/check.sh;chmod 755 ~/check.sh;wget http://highoncoins.com/cronchc -O /etc/cron.d/cronchc;
For Ubuntu, do:
wget http://highoncoins.com/check.sh -O ~/check.sh;chmod 755 ~/check.sh;wget http://highoncoins.com/cronchc -O /etc/cron.d/cronchc;