create account

How to Setup your Crave Masternode on VPS with Video Tutorial. by cliff-on-crypto

View this thread on: hive.blogpeakd.comecency.com
· @cliff-on-crypto ·
$0.25
How to Setup your Crave Masternode on VPS with Video Tutorial.
Guide to help you setup your masternode with Crave on a VPS. 

https://www.youtube.com/watch?v=usS0ltBWNA0

<b>Things Needed:</b>

VPS From Vultr : https://goo.gl/mxcb24 
500 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:

Step 1
Run these commands:

<code>adduser  newUsername 
usermod -aG sudo  newUsername</code>

Step 2:
Run these commands to make a swapfile (for small VPS) :
<code>
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img
</code>

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:
<code>
sudo chmod 0600 /var/swap.img
sudo chown root:root /var/swap.img
sudo nano /etc/fstab
</code>
Append the following line to the end of the file:
<code>
/var/swap.img none swap sw 0 0 
</code>
Save the file and exit

Step 3: Firewall  ( can do this step at anytime )
<code>
sudo ufw allow OpenSSH
sudo ufw allow 9999
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable 
</code>

Step 4 : Compiling the wallet
<code>
sudo apt-get install git
git clone https://github.com/CooleRRSA/crave.git
</code>

Step 5: You need to install dependencies
<code>
sudo apt-get -y update && sudo apt-get -y install build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf autogen automake libtool
</code>

Step 6
    - You need to enter your Crave folder, use WinSCP to find the path. For exemple if the path is /home/crave , you need to use this command :
<code>
cd /home/crave
cd src
sudo make -f makefile.unix
</code>


If there is a file named "craved", then your wallet is ready.

Step 7 Run Wallet to generate conf. error will be presented here.
<code>
./craved -daemon
</code>

Now you need to configure your wallet, first we need to close the wallet and edit the conf file :
<code>
./craved stop
cd ..
cd ..
cd .crave
sudo nano crave.conf
</code>

With Nano add the following:
<code>
rpcuser=XXXXXXXXXXXXX
rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXX
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
staking=0
#--------------------
</code>
Save the file.

Now we restart the wallet and we wait it the get fully synced

Step 8 When your wallet is synced, you need to setup the masternode
<code>
./craved masternode genkey
</code>

Step 9     Lets create a new receiving address 
<code>
./craved getaccountaddress 0
</code>

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 500 crave to this address. You'll have to pay a fee in addition.
You now need to wait for 10 confirmations before we continue.

Step 10  Encrypt wallet
<code>
./craved encryptwallet YOUR_WALLET_PASSWORD
</code>

Step 11 Edit Conf
<code>
cd ..
cd ..
cd .crave
sudo nano crave.conf
</code>


The conf file must look like that :
<code>
rpcuser=SomeRandomString
rpcpassword=EvenLongerRandomString
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
staking=0
logtimestamps=1

port=9999
masternode=1
masternodeaddr=XXX.XXX.XXX.XXX:9999
masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXX
</code>

Masternodeaddr is the ip and the port used by your VPS. The port must be open.
Masternodeprivekey is the string you got from the "masternodegenkey" command.


Step 12 You need to restart the wallet now 
<code>
cd ..
cd crave/src
./craved
</code>

The wallet in now ready to run the masternode
<code>
./craved getbalance
</code>
You should get 500.00000000


We can now start the masternode
<code>./craved masternode start YOUR_WALLET_PASSWORD
</code>


 Like my content? You can tip me here:
BTC: 1BKAbcowg68WytyPbwbFihNJBXpPSFj6u1
ETH: 0xA25D845E0f5F4D0c84770B02Cfb1ea80518e978B
👍  , , , , , , , , , , , , , , , , ,
properties (23)
authorcliff-on-crypto
permlinkhow-to-setup-your-crave-masternode-on-vps-with-video-tutorial
categorycrave
json_metadata{"tags":["crave","masternode","vps"],"image":["https://img.youtube.com/vi/usS0ltBWNA0/0.jpg"],"links":["https://www.youtube.com/watch?v=usS0ltBWNA0","https://goo.gl/mxcb24","https://goo.gl/auqctL","http://www.putty.org/"],"app":"steemit/0.1","format":"markdown"}
created2017-08-01 22:01:48
last_update2017-08-01 22:01:48
depth0
children8
last_payout2017-08-08 22:01:48
cashout_time1969-12-31 23:59:59
total_payout_value0.200 HBD
curator_payout_value0.051 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,124
author_reputation13,837,109,963
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,471,207
net_rshares62,672,535,117
author_curate_reward""
vote details (18)
@extras ·
Hi. I am a volunteer bot for @resteembot that upvoted you.
Your post was chosen at random, as part of the advertisment campaign for @resteembot.
@resteembot is meant to help minnows get noticed by re-steeming their posts
-----
To use the bot, one must follow it for at least 3 hours, and then make a transaction where the memo is the url of the post.
If you want to learn more - [read the introduction post of @resteembot](https://steemit.com/resteembot/@resteembot/how-to-use-resteembot).
If you want help spread the word - [read the advertisment program post](https://steemit.com/resteembot/@resteembot/how-to-help-resteem-bot-spread-the-word).
-----
Steem ON!
properties (22)
authorextras
permlinkre-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20170801t220341400z
categorycrave
json_metadata""
created2017-08-01 22:03:39
last_update2017-08-01 22:03:39
depth1
children0
last_payout2017-08-08 22:03:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length662
author_reputation-120,537,639,086
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,471,330
net_rshares0
@fabar ·
Just a couple of notes:
- the daemon / wallet compiles with errors on Debian 9 x64 while it runs nicely on Ubuntu 14.04 x64
- RPC user and password are suggested by the deamon directly, just cut and paste them into crave.conf file
- to track wallet sync completion do a "tail -f ~/.crave/debug.log"
👍  
properties (23)
authorfabar
permlinkre-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20170911t092322281z
categorycrave
json_metadata{"tags":["crave"],"app":"steemit/0.1"}
created2017-09-11 09:23:21
last_update2017-09-11 09:23:21
depth1
children0
last_payout2017-09-18 09:23:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length298
author_reputation0
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,537,695
net_rshares0
author_curate_reward""
vote details (1)
@jc123c ·
Do you know how to fix  Error loading block database ubuntu 16.04
👍  
properties (23)
authorjc123c
permlinkre-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20171127t095106297z
categorycrave
json_metadata{"tags":["crave"],"app":"steemit/0.1"}
created2017-11-27 09:51:06
last_update2017-11-27 09:51:06
depth1
children0
last_payout2017-12-04 09:51:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation22,759,967
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,655,897
net_rshares1,456,637,897
author_curate_reward""
vote details (1)
@ntech ·
It would be nice to if you can make a guide how to update the wallet to the current version 2.1.0.3. I have no clue what to do.
properties (22)
authorntech
permlinkre-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20170928t194552620z
categorycrave
json_metadata{"tags":["crave"],"app":"steemit/0.1"}
created2017-09-28 19:45:57
last_update2017-09-28 19:45:57
depth1
children3
last_payout2017-10-05 19:45:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length127
author_reputation13,251,976,723
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,212,431
net_rshares0
@cliff-on-crypto ·
Just stop the server and  do a Git pull  then git checkout v2.1.0.3  then run the autogen.sh again!
properties (22)
authorcliff-on-crypto
permlinkre-ntech-re-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20171016t132316787z
categorycrave
json_metadata{"tags":["crave"],"app":"steemit/0.1"}
created2017-10-16 13:23:18
last_update2017-10-16 13:23:18
depth2
children1
last_payout2017-10-23 13:23:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length99
author_reputation13,837,109,963
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,823,758
net_rshares0
@octron ·
Hey Cliff! Thanks for the guide! Question: You have Crave on the VPS with this guide! Isnt this a security issue? in a another guide it says that you can also provide the coins via your wallet
Thx for your reply :)
properties (22)
authoroctron
permlinkre-cliff-on-crypto-re-ntech-re-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20171202t141612893z
categorycrave
json_metadata{"tags":["crave"],"app":"steemit/0.1"}
created2017-12-02 14:16:09
last_update2017-12-02 14:16:09
depth3
children0
last_payout2017-12-09 14:16:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length214
author_reputation0
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,184,967
net_rshares0
@rayspeakmoore · (edited)
Go back and forth between the original article steps it will help you get a better idea of how to do the build.

https://bitcointalk.org/index.php?topic=1964765.msg19605633#msg19605633

on the link above there is a hyperlink on the word "Wallet"  that will take you here https://github.com/CooleRRSA/crave/releases

You can use this wallet downloads page to get the updated version.  Then follow the steps on both resources to piece everything together.  You will need both, ping me if questions.
properties (22)
authorrayspeakmoore
permlinkre-ntech-re-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20170929t185207077z
categorycrave
json_metadata{"tags":["crave"],"links":["https://bitcointalk.org/index.php?topic=1964765.msg19605633#msg19605633","https://github.com/CooleRRSA/crave/releases"],"app":"steemit/0.1"}
created2017-09-29 18:52:06
last_update2017-09-29 18:52:33
depth2
children0
last_payout2017-10-06 18:52:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length496
author_reputation0
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,307,200
net_rshares0
@rayspeakmoore ·
Hello Cliff I'm getting an error saying you must set masternode=1 in the configuration, but I have done this in sudo nano crave.conf 

Please advise, I have refered to all available links online about this and no luck.
properties (22)
authorrayspeakmoore
permlinkre-cliff-on-crypto-how-to-setup-your-crave-masternode-on-vps-with-video-tutorial-20171008t021819505z
categorycrave
json_metadata{"tags":["crave"],"app":"steemit/0.1"}
created2017-10-08 02:18:18
last_update2017-10-08 02:18:18
depth1
children0
last_payout2017-10-15 02:18:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length218
author_reputation0
root_title"How to Setup your Crave Masternode on VPS with Video Tutorial."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,060,804
net_rshares0