Shared Managed Masternodes

Quick login/registration:
Join us create the best masternode focused discussion board! (10 Apr 2018)

Today we open the doors to We hope it will grow to a vibrant and helpful community of crypto enthusiast who are interested in any area of masternodes! Masternodes help to operate the blockchain and requires a lot of knowledge to run effeciently. Please help us spread the word and come with suggestions for improvement to this forum. You can contact us at any time via the forum - or email us at This email address is being protected from spambots. You need JavaScript enabled to view it.

Setting up a VPS

2 years 2 months ago 2 years 2 months ago by Alvaron.
Posts: 7
Karma: 1
Topic Author
Setting up a VPS #3
The safest thing to do to host a Masternode is to go for the hot-cold wallet combo.
For this you'll need a VPS with Linux (prefferably Ubuntu 16.04).

One provider with quality VPS hosting is Digital Ocean .
(if you use the above reflink, you'll get a free $10 with your first deposit!)

1. Create an Account on Digital Ocean (reflink above)

2. Fund your account ($5 should do it) with Paypal or Credit Card
3. In your dashboard, at the top right click: "create" and select "Droplets"

4. Choose "Ubuntu 16.04", a $5/month package will do for most Masternodes

5. Choose Datacenter region (This applies mostly if you run multiple MNs from the same coin. Help the network and decentralize!)

6. Finalize your order by ordering the amount of VPS you need and giving them a name. Click Create.

You'll get an email with all info to log into your VPS

// There where other security options. I would encourage you to use them but they are not needed for the droplet to work.

For ANY masternode you can already set up:

Download PuTTY to SSH into your newly created VPS
You have chosen a VPS with only 1GB RAM, wich could be less then enough to compile the coin's wallet. Therefore we'll create a SWAP file (harddisk space that will be used as if it was RAM):
Check the memory:
free -h

Add the swapfile:
sudo fallocate -l 4G /swapfile
ls -lh /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
#Make Changes Permanent
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
sudo bash -c "echo 'vm.swappiness = 10' >> /etc/sysctl.conf"

Check the memory, you should see the swapfile:
free -h

Then on to the user.
The root user is all powerfull. We don't want someone to get in there and snoop your MN info or alter it. We'll add a new user:
sudo adduser --force-badname MasterNodeCoinNameHere
and give him sudo access:
usermod -aG sudo MasterNodeCoinNameHere

Now, as root we'll need to prepare the VPS:
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get install nano htop git vim -y
sudo apt-get install build-essential libtool autotools-dev automake -y 
sudo apt-get install pkg-config libssl-dev libevent-dev bsdmainutils software-properties-common -y
sudo apt-get install libboost-all-dev -y
sudo apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev -y
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get update -y
sudo apt-get install libdb4.8-dev libdb4.8++-dev -y
sudo apt-get install fail2ban -y
sudo apt-get install -y ufw
sudo apt-get update -y

for extra security we'll add some firewall items and fail2ban:
(XXXX = the port your MN coin uses)
udo ufw default allow outgoing 
sudo ufw default deny incoming
sudo ufw allow ssh/tcp
sudo limit ssh/tcp
sudo ufw allow XXXX/tcp
sudo ufw logging on
sudo ufw enable
sudo ufw status

sudo systemctl enable fail2ban
sudo systemctl start fail2ban

Now you log in as the new user and just follow the guide from your MN coin on how to set up your MN. This is in most cases pretty identical, but follow their guide to be sure!

You have set up your first VPS, ready for your first MN!
Enjoy the rewards
(please be patient and wait up to 48 hours after MN install to see if rewards come in)

Please Log in or Create an account to join the conversation.

2 years 2 months ago
Stefan Leever
Posts: 2
Setting up a VPS #4
Awesome guide! Thanks for posting this :)

Please Log in or Create an account to join the conversation.

2 years 2 months ago
Posts: 7
Karma: 1
Topic Author
Setting up a VPS #6
Glad to.
Maybe pin the message for future signups to see?

Please Log in or Create an account to join the conversation.