How to Setup Medic Coin Masternode VPS

in masternode •  last year

Tutorial on how to setup a Medic Coin Masternode!

heart-logo-for-mediccoin-version-2-1200.png

Things Needed:

VPS From Vultr (5$ Vps perfect . You can add more than 1 masternode on there. (Not the same masternode tho) : https://goo.gl/mxcb24

199,999 Tokens from CryptoBridge : https://wallet.crypto-bridge.org

Putty: http://www.putty.org/ ( Putty Windows users, Terminal for Mac )

Once you have created and launched your masternode VPS, login as root and create a new user using putty. The login details for your root will be emailed too you once you created the server with Vultr.

Step 1: Create Shell script & open firewall

sudo ufw allow OpenSSH
sudo ufw allow 2117
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable

Now start!

Step 2: Update dependencies.

sudo apt-get -y update
sudo apt-get install git
git clone https://github.com/MEDICCOIN/MedicCoin.git

Step 3: Install dependencies

sudo apt-get -y update && sudo apt-get -y install build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf autogen automake libtool

Step4: Compile

cd MedicCoin
cd src
sudo make -f makefile.unix

Now run the Daemon

./MedicCoind -daemon

Step 5: Configure Wallet

./MedicCoind stop
cd ..
cd ..
cd .MedicCoind
sudo nano MedicCoind.conf

With Nano add the following:

rpcuser=XXXXXXXXXXXXX
rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXX
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
#--------------------

Save the file.
Now we restart the wallet and we wait it the get fully synced.

Step 6: Setup Gen

./MedicCoind masternode genkey
./MedicCoind getaccountaddress 0

This address will receive your coins. Save also this one in the txt file.

Now edit Conf again:

cd ..
cd ..
cd .MedicCoind
sudo nano MedicCoind.conf

Your Conf file will look something like this:

rpcuser=SomeRandomString
rpcpassword=EvenLongerRandomString
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
port=2118
masternode=1
masternodeaddr=XXX.XXX.XXX.XXX:2118
masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXX

Step 7: You need to restart the wallet now

cd ..
cd MedicCoind/src
./MedicCoind

The wallet in now ready to run the masternode

./MedicCoind getbalance
You should get 199,999 MEDIC

We can now start the masternode
./MedicCoind masternode start

P.s Now if you would like to make use of the Cold Wallet ( Windows wallet ) just install QT wallet from:
https://mediccoin.com/

You will then need to modify your Conf file to add the TX from the wallet!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!