*IMPORTANT NOTE – When setting up your password in Linode or your VPS server, PLEASE USE A STRONG PASSWORD, you can use passwordsgenerator.net

Try this first:

cat /etc/*release*

#for CentOS7
yum -y install wget;yum -y install epel-release;yum -y install system-config-firewall-tui bzip2 git clone autoconf automake gcc-c++ boost-devel openssl-devel;yum -y update;cd /usr/src;wget https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz;tar -zxf openssl-1.0.2-latest.tar.gz;cd openssl-1.0.2l;export CFLAGS="-fPIC";./config --prefix=/opt/openssl --openssldir=/opt/openssl enable-ec enable-ecdh enable-ecdsa -fPIC shared;make all;make install;cd ~;mkdir chaincoin;cd ~/chaincoin;wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz';mkdir db4;cd db4;tar xvf ../db-4.8.30.NC.tar.gz;cd db-4.8.30.NC/build_unix/;../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/root/chaincoin/db4/;make;make install;cd ..;cd ..;cd ..;wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download -O boost_1_55_0.tar.bz2;tar jxvf boost_1_55_0.tar.bz2;cd boost_1_55_0;./bootstrap.sh;./b2 --prefix=/root/chaincoin/deps link=static runtime-link=static install;cd ..;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;

Next, type:
mkdir ~/.chaincoin/;cd ~/.chaincoin/;vi chaincoin.conf
Copy and paste the following by hitting “i” key first then pasting the following:
(You can change your username to anything you want below and also password.)

Then hit escape key on your keyboard followed by “:wq” (without the quotes).

This is a shortcut for the bootstrap, you will be able to sync the blockchain in about 10 minutes by installing manually:
cd ~/.chaincoin;wget http://downloadandroidrom.com/bootstrap.dat;chaincoind -loadblock=bootstrap.dat &

Wait about 10-20 minutes for the blockchain to be done.

You can type “chaincoind getinfo” to get the current status.

While the blockchain is loading, you can get the wallet address by typing:
chaincoind getaccountaddress 0

Send EXACTLY 1000 Chaincoins to that address.

Also type the following to generate your masternode key:

chaincoind masternode genkey

Copy and paste this key into Notepad.

Type the following to find the IP address of your server:

Copy and past the IP address under “eth0” into your Notepad.

Keep typing the following to see if 15 confirmations have gone through, then go to next step:
chaincoind listtransactions

When you see 15 confirmations, type the following to stop chaincoind:

chaincoind stop

vi ~/.chaincoin/chaincoin.conf


Add the last 4 lines and put your masternode key and the IP address you got earlier.


Start the chaincoind by typing:
chaincoind --daemon

Start the masternode by typing:
chaincoind masternode start

To check if your masternode is running, type: (replace the IP address with yours!)
chaincoind masternodelist status

Setup your firewall by typing:

Add TCP port 11994 so your masternode stays open and everything else blocked except for your SSH port.


#Command to start Chaincoind=============
chaincoind --daemon

#Command to stop Chaincoind==============
chaincoind stop
#Command to Manually KILL Chaincoind=================
ps -ax|grep chaincoin
kill -9 (Put the number of the process here.)

Part 2: Also for additional security, change your SSH port number and use a STRONG PASSWORD!   See this tutorial.

Part 3: If you do not have auto restart script, your masternode may sometimes stop running.  To make sure it is running 24/7, please see this tutorial.

Part 4: You will want to backup your masternode wallet just in case something happens to your server, see this tutorial.

Part 5: If you followed this guide BEFORE August 16th, you will need up update to v0.9.3.0, see this tutorial.


Q: How do I send out my masternode earnings?
A: Do “chaincoind sendtoaddress PUTYOURSENDTOADDRESSHERE amount”.  Do a small test send so you know it is working.