Monoeci Masternode Set Up

in #monoeci7 years ago (edited)

Hi, I would like to show you guys how to set up remote vps masternode for Monoeci. Just follow my guide you guys will able to set up a masternode less than 30 minutes! :)

Let's get started.

First you guys need create vps server. I will use vultr for this guide. Here is the link to start https://www.vultr.com/?ref=7188571

Required Operating System: Ubuntu 14.04

Setting Up a Server

After creating Vultr Account click on the big plus sign
DQmNq8eTvAX2NTSDGehxLXEubTtbbJi82K1mLFj3A2b1nbe.png

It will take you to the creating server page.

1.First choose your server location. Which means choose the closest place to you. In my case Chicago.
DQmRDfHRGZqPWmrnNBiZ2U54T3NUSYyzjSTbFGpyTqX68WQ_1680x8400.png

2.Choose Server Type.
We would like to choose Ubuntu 14.04
DQmT9KRT7Fu1NDz7DQzMyDhtjmCzfdMiHi8YNTWYiESS9K2.png

3.Choose Cheapest Server Size :)
DQmNSnmC5xTRKxymT6tzxfozNBa1X1ma4w3RVoqaJrcnTEq_1680x8400.png

4.Give it a server name. I named simple monoeci-1
2017-12-28 14_30_20-Deploy Servers - Vultr.com.png

5.Press Huge button Deploy Now and done. Let's wait until server is finished.

Setting up a control wallet with a masternode conf

After we have finished setting up a server. We are going to click on the manage2017-12-28 14_35_02-My Subscriptions - Vultr.com.png

Download Putty In order to access to the server. Here is the link.
https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.70-installer.msi

After downloading putty go to your windows search bar and search for the putty word it should show up. Now open up your putty in order to access to the server

Now go back to your web browser. You should see this page.
2017-12-28 14_37_44-Manage 45.76.25.220 - Vultr.com.png

Copy your server ip address put it in the putty.


2017-12-28 14_39_07-PuTTY Configuration.png

Press Open and press Yes. You should see a terminal looks something like this.

2017-12-28 14_40_45-Manage 45.76.25.220 - Vultr.com.png

Now type the username:root
press enter
after that copy or type the password. Copy the password from vultr and paste to the terminal simply right click on mouse will paste to the terminal. Password will be hidden.

It is just simply copy paste from now on. Just copy what I have and paste to the terminal :).

  1. Let's update and upgrade the server
    apt-get update -y
    apt-get upgrade -y

Note: when you see the this thing just press enter inside terminal.
DQmckgNPfYpqenF7SAJe8FgxqMK4gbNXG2SWHCYw8zzMrgB_1680x8400.png

2.Let's install essentials
apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chrono-dev
apt-get install -y libboost-program-options-dev libboost-test-dev libboost-thread-dev
apt-get install -y unzip libminiupnpc-dev python-virtualenv libboost-all-dev
apt-get install -y build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
apt-get install libevent-pthreads-2.0-5
3.Install Berkeley 4.8
apt-get install -y software-properties-common && add-apt-repository -y ppa:bitcoin/bitcoin
apt-get update -y
apt-get install -y libdb4.8-dev libdb4.8++-dev
apt-get install -y git virtualenv

Note some parts is credited to elkmar@discord

Adding User


adduser monacouser
usermod -aG sudo monacouser
su - monacouser

Installing Control Wallet

1.Let's install Wallet
wget https://github.com/monacocoin-net/monoeci-core/releases/download/0.12.2/monoeciCore-0.12.2-linux64-cli.Ubuntu14.04.tar.gz
tar xvf monoeciCore-0.12.2-linux64-cli.Ubuntu14.04.tar.gz

2.Command and Running monoecid
sudo cp monoecid /usr/bin/
sudo cp monoeci-cli /usr/bin/
monoecid &
Wait 5-10 second and do this
monoeci-cli stop
pkill -9 monoecid

Let's go back to your windows or mac wallet

Note some parts is credited to Caboosethevehicledestroyer@discord

1.Setting up your local wallet for receiving the initial 1000 XMCC Capital required.

Firstly install the latest Monoeci wallet found Here, next start up the wallet and navigate to Tools and open the “Debug Console” as shown below.
2017-12-28 15_14_32-.png

In the command box type the following command:
masternode genkey2017-12-28 15_19_59-Tools window.png

You should see output this is going to be your masternode private key copy it and save it somewhere

Let's go back to your vps masternode server

1.Configure the monoeci file
Now we going to use nano. Nano is linux notepad

nano ~/.monoeciCore/monoeci.conf
Copy and paste this

rpcuser=putanyworkyoulike
rpcpassword=putanyworkyoulike
rpcallowip=127.0.0.1
port=24157
server=1
listen=1
daemon=1
maxconnections=24
masternode=1
masternodeprivkey=[your masternode private key my is 3cZSMFbY8vqYtfsxqBvFmW1oPqu2F9nyuwEY6rudujyLha6SNvu]
externalip=[your-server-ip-address-here my is 45.76.25.220]
logtimestamps=1
mnconflock=1

PressCTRL-X > PressY> Press [ENTER]

We are done configuring the masternode now let's started monoeci masternode!

nohup monoecid &

Installing sentinel

1.Getting sentinel
git clone https://github.com/monacocoin-net/sentinel.git
cd ~/sentinel/
virtualenv ./venv
./venv/bin/pip install -r requirements.txt

2.Configuring sentinel
echo "monoeci_conf=/home/monacouser/.monoeciCore/monoeci.conf" >> ~/sentinel/sentinel.conf

3.Adding sentinel on crontab
crontab -l > mycron
echo "* * * * * cd /home/monacouser/sentinel/ && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1" >> mycron
crontab mycron
rm mycron
Great we are almost finished!

Server side is done. Let's go back to mac or windows wallet

Go to Receive > Label MN01 > Press Request Payment
2017-12-28 15_59_14-monoeci Core - Genesis - Wallet.png

Let's copy address
2017-12-28 16_00_38-Request payment to MN01.png

Go to send and put address on Pay To: Label. Put exactly 1000 XMCC coins and press send2017-12-28 16_04_09-monoeci Core - Genesis - Wallet.png

Now wait for 15 confirmations which will take 30 minutes

Getting TxHash and TxIndex

Let's navigate to Tools and open the “Debug Console” as shown below.
2017-12-28 15_14_32-.png

and type masternode outputs

2017-12-28 16_12_15-Tools window.png

you will see output something like this

{
    "1e665c23487ec14a147170ee4b4e24255ed1f9d032a49bb16df7b8c1f9fasdf8" : "0",
}

TxHash: 1e665c23487ec14a147170ee4b4e24255ed1f9d032a49bb16df7b8c1f9fasdf8
TxIndex: 0

Now save this output somewhere

Configuring masternode on windows

Go to windows search bar type this ```%appdata% > go to folder > find monoeciCore folder > edit masternode.conf and fill out like this but with your own data

2017-12-28 16_19_22-New Text Document (5).txt - Notepad.png

2017-12-28 16_19_54-New Text Document (5).txt - Notepad.png
2017-12-28 16_20_10-New Text Document (5).txt - Notepad.png

Save it conf and close your wallet and open it again

Getting masternode tab

Go to your wallet > Settings > Options > Wallet > Check Mark Show Masternodes Tab
2017-12-28 19_34_17-NVIDIA GeForce Overlay.png

Press Ok > Close your wallet and open up again

Note this part credited to Jin@discord
Now go to Masternodes > Press Update Status you will see masternode and press Start-alias

That's it you are done :) Rewards will start to come within 1-2 days

Optional Encrypting wallets and back ups

Note All below parts credited to Caboosethevehicledestroyer@discord locikll@steem

Encrypt your wallet!

This is a simple step, but we highly advise you encrypt your wallet such that it becomes much less susceptible to theft.

In order to do this, go to Settings -> Encrypt Wallet.

You will then be asked to type in a passphrase which will be used to unlock your wallet, make sure it is something of decent length, non-personal and ideally longer than 16-24 characters (Remember this is to protect it once the wallet has been stolen, thus the password must be long enough such that it is difficult to brute force).


2017-12-28 19_53_06-MONOECI Masternode Setup guide (EN) - Google Docs.png

Depending on the processing power of your computer, this may take several minutes, do not panic, have some coffee/tea/soda instead!

The wallet will need to be restarted once this is complete.

Backup your wallet!

Once you have restarted the wallet, go to File -> Backup Wallet, this will give you a backup of your wallet data (Which includes all of your public/private keys), and I highly recommend storing this on a secure USB or some other device, which Will NEVER be connected to a PC/Laptop, other than the purposes of restoring your wallet. This essentially gives you a safe storage of your keys (And money) in case of computer failure, or in the event of a crisis.

Firewall for your server extra security

Add this lines
sudo ufw allow from [put your pc ip]
sudo ufw allow 24157
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable

For Public Key Authentication click here
`

Sort:  

Congratulations @aziz199505! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

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

How many MN's can you run on one VPS? I've been doing only one per VPS, but I'm assuming I can do more than one as long as its not the same coin?

You can only do 1 MN per VPS. In old dash masternodes you could have chance doing that but not for Monoeci since it is using news dash

Awesome, thanks for confirming.

I do not get this view after doing the updates, and I followed these instructions to a T.

Putty Page.PNG

It is okay if you don't get it. I put note if people get it don't freak out just press OK that's why :)

Great guide! Thank you.
It will be work for Virtus masternodes too!
https://bitcointalk.org/index.php?topic=2983251

Every time I set up this masternode I get WATCHDOG_EXPIRED. I have two other mns and this is the only one that gives me this problem. Any assistance? TYSM!

me too. you solved the problem?

Coin Marketplace

STEEM 0.22
TRX 0.26
JST 0.040
BTC 98487.39
ETH 3469.86
USDT 1.00
SBD 3.23