Yup Masternode Setup Notes

in #yup7 years ago (edited)

Yup Masternode Setup Notes


YUP is exciting to me because it allows masternodes to vote on changes to the coin, and to budget for expenses out of the coin rewards.


Ubuntu Server 14

as root, update server, install packages, create user:

apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev -y;apt-get install libboost-all-dev -y;add-apt-repository ppa:bitcoin/bitcoin -y;apt-get update;apt-get install libdb4.8-dev libdb4.8++-dev -y;apt-get install git -y;apt autoremove -y;adduser yup;su yup

as user, compile software:

cd ~;git clone https://github.com/notforhire/Yup YUP;mkdir yup;mkdir .yup;cd ~/YUP;./autogen.sh;./configure;make;cd ~/YUP/src;cp yup-cli ~/yup/;cp yupd ~/yup/;cp yup-tx ~/yup/;cd ~/yup;strip yupd;strip yup-cli;strip yup-tx;cd ~/.yup;nano yup.conf

Paste in Config:


rpcuser=
rpcpassword=
rpcallowip=127.0.0.1

server=1
listen=1
daemon=1
staking=1

masternode=1
masternodeprivkey=
externalip=

alertnotify=echo %s | mail -s "YUP Alert" [email protected]

addnode=80.211.150.243
addnode=80.211.209.142
addnode=212.237.54.157


crontab -e
@reboot /home/yup/yup/yupd

Manually start yupd:

/home/yup/yup/yupd

or reboot

Update server and YUP:

as root, update server:

apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt autoremove -y;su yup

as user, recompile:

cd ~;rm -rf YUP;git clone https://github.com/notforhire/Yup YUP;cd ~/YUP;./autogen.sh;./configure;make;cd ~/yup;./yup-cli stop;sleep 10;rm yup-cli;rm yupd;rm yup-tx;cd ~/YUP/src;cp yup-cli ~/yup/;cp yupd ~/yup/;cp yup-tx ~/yup/;cd ~/yup;strip yupd;strip yup-cli;strip yup-tx;sleep 1;./yupd;

or precompiled (1.0.2.0)

cd ~/;rm linux_64.tar.gz;wget https://github.com/notforhire/Yup/releases/download/v1.0.2.0/linux_64.tar.gz ;cd ~/yup;./yup-cli stop;sleep 10;rm yup-cli;rm yupd;rm yup-tx;tar xvzf ../linux_64.tar.gz;./yupd;

Optional: logrotate /home/yup/.yup/debug.log

nano /home/yup/logrotate.conf


/home/yup/.yup/debug.log {
daily
rotate 5
compress
}


crontab -e
0 0 * * * logrotate --state /home/yup/logrotate.state /home/yup/logrotate.conf


BTC Donations: 1TKPnVa9qFazEY5RLwDkGM3XwcFa8BqvC

I'd like to set up a Masternode for GoByte (GBX)
Donations are welcome!
GBX: GgUA7XimjG79qVudKZfxbfJABX2tDpRXP1

I'm doing these guides for masternode coins that I've personally set up and tested.

Sort:  

thanks

Coin Marketplace

STEEM 0.18
TRX 0.18
JST 0.032
BTC 87512.19
ETH 3031.52
USDT 1.00
SBD 2.72