Desire Masternode Server Setup notes

in desire •  2 years ago  (edited)

These are my notes on the Desire Masternode Server Setup process:

Ubuntu Server 14

Setup 1-liner:


apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt-get install nano htop git -y;apt-get install build-essential libtool autotools-dev automake pkg-config -y;apt-get install libssl-dev libevent-dev bsdmainutils software-properties-common -y;apt-get install libboost-all-dev -y;apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev -y;add-apt-repository ppa:bitcoin/bitcoin -y;apt-get update;apt-get install libdb4.8-dev libdb4.8++-dev -y;adduser desire;su desire

User and software 1-liner:


cd ~;mkdir desire;wget https://github.com/lazyboozer/Desire/releases/download/Desire-v.0.12.2.1/desire-0.12.2.1-linux.tar.gz ;cd desire;tar xzvf ../desire-0.12.2.1-linux.tar.gz;cd ~;mkdir .desirecore;cd .desirecore;wget https://github.com/ZonnCash/sentinel/releases/download/v1.1.0-win64/sentinel-lin64 ;chmod +x sentinel-lin64;echo "desire_conf=`pwd`/desire.conf" > sentinel.conf;nano desire.conf

Paste in sample config:
************************:
rpcuser=
rpcpassword=
rpcallowip=127.0.0.1
rpcport=9918
listen=1
server=1
daemon=1

masternode=1
masternodeprivkey=
externalip=
************************:
crontab -e
Add these lines:
****************:
@reboot /home/desire/desire/desired
@reboot /home/desire/start-sentinel.sh
****************:

Make the sentinel script:
*************************:
touch start-sentinel.sh;chmod +x start-sentinel.sh;nano /home/desire/start-sentinel.sh
*************************:
#!/bin/sh

sleep 60
cd ~/.desirecore
./sentinel-lin64 > ~/sentinel.log &

reboot as root or manually start the daemon and sentinel. Desire takes 15 confirmations for masternode payments to be valid.

Other notes:

Masternode private key command (run in the debug console on your local wallet for security):
masternode genkey

Get valid masternode coin stacks (must be exactly 1000.0) (run in debug on local wallet)
masternode outputs

You will see a watchdog error upon first activating the masternode, allow 15-30 minutes for the status to fully update. Close and reopen your local wallet if it still hasn't updated after that.

Avoid restarting the masternodes or resending the Start command via the wallet unnecessarily, as that resets all the various timers.

Windows Instructions by @giothenics
https://steemit.com/desire/@giothenics/desire-new-altcoin-masternode-setup

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!
Sort Order:  

Good Tutorial ! I think it will help a lot of people

Thank you, I appreciate it!

Congratulation

Today one year ago you joined SteemIt
Thank you, for making SteemIt great and Steem on for more years to come!

(You are being celebrated here)

Thank you!

Congratulations @beeskee! You have received a personal award!

Happy Birthday - 1 Year on Steemit Happy Birthday - 1 Year on Steemit
Click on the badge to view your own Board of Honor on SteemitBoard.

By upvoting this notification, you can help all Steemit users. Learn how here!

Thank you!

Hey thanks! I've been trying to figure this out for FOREVER. Quick questions: When you write "setup 1 liner" do you mean to literally type out that ENTIRE paragraph before hitting enter? Or where are the breaks? And is the command "cd ~mkdir" a command unto itself?
Thanks for the help, you're saving my ass!