Here is a script that i have written a couple of days ago to setup and configure a couple of masternodes (server side) automatically:
https://github.com/marsmensch/masternode-vps-setup
Notes and features
- it is currently only tested on a vultr VPS and Ubuntu 16.04 (smallest instance is good for up to 8 nodes)
- porting to 14.04 is probably not too hard, but no priority for me
- this script doesnt care about the controller side of things
- installs 1-100 (or more!) masternodes in parallel on one machine, with individual config and data
- compilation is currently from source, ubuntu packages on the way
- some security hardening is done, including firewalling and a separate user
- automatic startup for all masternode daemons
- ipv6 enabled, tor/onion will follow
- this script needs to run as root, the masternodes will and should not!
What do i need to do after running this script?
- 0) Download and tun this script on your VPS instance
- 1) change the amount of masternodes you want to install/configure at the top of the script ("eg SETUP_MNODES_COUNT=3")
- 2) Add your masternode private key to the configuration file(s) located at /etc/masternodes/... For example, when installing three DNET masternodes:Quote* writing config file /etc/masternodes/darknet_n1.conf
* writing config file /etc/masternodes/darknet_n2.conf
* writing config file /etc/masternodes/darknet_n3.conf - 3) run /usr/local/bin/restart_masternodes.sh to activate the services permanently. Individual masternode data directories are located in /var/lib/darknet/darknet${NUMBER_OF_NODE}
- 4) subsequently, you should only work as user and not root. The default user acc is masternode. Change to this user with the command "su masternode" (loged in as root)
DONE
Not foolproof, but it gets the job done to the "piece of cake" level.
nice scrypt
hows it going to work with Darknet when you can only have 1 masternode per IP address ?
thanks
Paul
guide be good. video or step by step pics.