Monaco Coin Masternode Setup with VPS - 89% ROI
Great Tutorial on how to setup your Monaco Coin Masternode.
Intro Video on it!
Things Needed:
VPS From Vultr (5$ Vps perfect . You can add more than 1 masternode on there. (Not the same masternode tho) ) : https://goo.gl/mxcb24
1000 Tokens from Cryptopia : https://goo.gl/auqctL
FTP : fillezilla
Putty : http://www.putty.org/
Once you have created and launched your masternode VPS, login as root and create a new user:
( also remember to do your security updates and make use of RSA ssh keys. ( will do a video on all of this )
Step 1
Run these commands:
adduser newUsername
usermod -aG sudo newUsername
Step 2:
Run these commands to make a swapfile (for small VPS) :
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img
Run free again to confirm you now have a swapfile. Note: If you chose a different server
option from Vultr, with less RAM, you’ll need a LARGER swapfile, i.e. set the count
parameter to something larger like 2048, 4096 etc. If the compilation steps fails partway
through this is usually the reason.
To make the swap file persist when the server is rebooted:
sudo chmod 0600 /var/swap.img
sudo chown root:root /var/swap.img
sudo nano /etc/fstab
Append the following line to the end of the file:
/var/swap.img none swap sw 0 0
Save the file and exit
Step 3: Firewall ( can do this step at anytime )
sudo ufw allow OpenSSH
sudo ufw allow 24157
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
Step 4 install dependencies ( can do this with root if you want )
sudo apt-get install git
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libboost-all-dev unzip libminiupnpc-dev python-virtualenv
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
Step 4.1
add-apt-repository ppa:bitcoin/bitcoin
If you have error message : "add-apt-repository: command not found"
Install :
apt-get install software-properties-common && add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
Step 5 Install the software
wget https://github.com/monacocoin-net/monacoCoin-Core/releases/download/0.12.1.5.1/monacoCoinCore-0.12.1.5.1-linux64-cli.taz.gz
tar xzvf monacoCoinCore-0.12.1.5.1-linux64-cli.taz.gz
chmod +x monacoCoind monacoCoin-tx monacoCoin-cli
./monacoCoind
Then stop the node :
./monacoCoin-cli stop
Now we need to edit the conf:
cd
nano .monacoCoinCore/monacoCoin.conf
Then copy and paste the following:
rpcuser= rpc user name
rpcpassword = rpc password
masternodeprikey = Private key generate before with command “masternode genkey”
externalip = Your VPS Public IP address
Now we save then restart the wallet and we wait it the get fully synced
Step 6 When your wallet is synced, you need to setup the masternode
./monacoCoin-cli masternode genkey
(save to text File )
Step 7 Lets create a new receiving address
./monacoCoin-cli getaccountaddress 0
(save to text File )
This address will receive your coins. Save also this one in the txt file.
Open your Windows wallet if it isnt yet and send exactly 1000 crave to this address. You'll have to pay a fee in addition.
You now need to wait for 10 confirmations before we continue.
Now we need to edit the conf again:
./monacoCoin-cli stop
cd
nano .monacoCoinCore/monacoCoin.conf
Make sure it looks like this:
rpcuser=USER HERE
rpcpassword=PASSWORD HERE
rpcallowip=127.0.0.1
server=1
listen=1
daemon=1
maxconnections=24
masternode=1
masternodeprivkey=PRIV KEY HERE
externalip=YOUR VPS PUBLIC IP HERE
save and start node
./monacoCoind
Now lets check to see that its operationsal and Sync:
./monacoCoin-cli mnsync status
You should see: "AssetID: 999" then you good to go.
Step 8 Now we need to setup Sentinel.
cd
git clone https://github.com/monacocoin-net/sentinel.git && cd sentinel
virtualenv ./venv
./venv/bin/pip install -r requirements.txt
Now Customize the config.
nano sentinel.conf
#specify path to monacoCoin.conf or leave blank
#default is the same as monacoCoinCore
monacoCoin_conf=/home/YOUR HOME DIRECTORY/.monacoCoinCore/monacoCoin.conf
#valid options are mainnet, testnet (default=mainnet)
network=mainnet
#network=testnet
#database connection details
db_name=database/sentinel.db
db_driver=sqlite
Save and exit
Now lets check if its valid:
./venv/bin/py.test ./test
Should say collect 20 Items - passed!
Lets install the crontab now:
crontab -e
*****cd /home/YOURUSERNAME/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1
save and exit
Now lets Activate the Masternode:
./monacoCoin-cli masternode outputs
Copy the code that appears
(ex : 09d8f080sdjsdoijdfdsdfsdjsjopsfdijfpsodfpsdf7986fs9dfs07fs) ->This corresponds to the id of your transaction 1000MCC see
Now edit the conf
nano .monacoCoinCore/masternode.conf
Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output index
#Masternode config file
#Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
#Example: mn1 127.0.0.2:19999 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
mn1 IP HERE:24157 df9df9dflsd9080asdasdasdasdasdadfasfsafasfasfffsaf 09d8f080sdjsdoijdfdsdfsdjsjopsfdijfpsodfpsdf7986fs9dfs07fs 0
Save file and restart your wallet
Now run
./monacoCoin-cli masternode start-alias mn1
You can check if its running with :
./monacoCoin-cli masternode status
I will do a full video on this next week. Please reach out if you guys get stuck! Peace and love guys
Cliff, I keep trying to set up this XMCC node, but have a problem after Step 5 after I install the software. I get the following:
./monacoCoind: error while loading shared libraries: libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory
On the forum someone said they had this happen on Ubuntu 16.04 but it does not happen on Ubuntu 14.04. The problem is I already have an Arc masterode running on this VPS working fine with Ubuntu 16.04x64. Any advise?
I have same issue, Also running Arc. going through forums to try and resolve.
USE monacoCoinCore-0.12.1.5.1-linux64-cli-Ubuntu16.taz.gz
Hello & Cheers!! I'm a content detection and information bot. You are receiving this reply because a short link or links have been detected in your post/comment. The purpose of this message is to inform your readers and yourself about the use of and dangers of short links.
To the readers of the post: Short links are provided by url shortening services. The short links they provide can be useful in some cases. Generally their use is benign. But as with all useful tools there are dangers. Short links can be used to hide all sorts of things. Quite frequently they are used to hide referral links for instance. While not dangerous this can be deceptive. They can also be used to hide dangerous links such as links to phishing sites, sites loaded with malware, scam sites, etc. You should always be extremely cautious before clicking on one. If you don't know and trust the poster don't click. Even if you do you should still be cautious and wary of any site you are sent to. It's always better to visit the site directly and not through a short link.
To the author of the post: While short links may be useful on some sites they are not needed on steemit. You can use markdown to format your links such as this link to steemit. It's as simple as
[steemit](https://steemit.com)
Unlike short links this allows the reader to see where they are going by simply hovering over the link before they click on it.Thanks. Can you show a screenshot of your Mater Node status?
Correct step 7: " send exactly 1000 crave to this address. "
Awesome work. I tossing up between 3 coins as my next (2nd) node on my Time4vps server. May set up another 2 for a total of 4 on it and have some common FAQ's. Been using another guys YouTube tutorial and your steemit post to set up my first Arc MN.
Coming soon?: 1.How to plan your vps buy and setup. 2. Choosing and building your coin portfolio. 3. FAQ's links, how to's and people to follow on steemit / youtube...discord? Need a place to go where I can get ALL the answers. :)
Just found site you can use to monitor your masternode. : https://masternodes.online
Guys come post questions or if you need help over at https://www.cryptocrib.net
Hey cliff, I set up my masternode through the VPS you suggested and it says it it active and running but I havent received a reward in over 24 hours. Do I need to keep the wallet open to receive rewards?