How to setup a node in VPS

Hi, this is a step by step guide (made by and for newbies) for who want to run a node in a server, to stay always online.

Choose a VPS server, signatures are cheap, like as digitalocean ( *refer code, in thanks for guide.
Cheapest this list http://lowendbox.com are
http://megavz.com/
https://www.weloveservers.net/
You can search for more servers, with fewer resources and cheaper still.

I choose Debian 7 64-bit
But feel free to test any.

After login in client SSH (i use FireSSh more practicality) follow the steps:

Update all packages running

apt-get update && apt-get upgrade

This is very important because otherwise, nis will not work properly.

Define the Java and NEM configurations, use one comandline to setup all parameters.
*The
parameter && refers to the next command if the previous is
works; if one command fails, do it the right way to continue running the
next.

*Note that this refers to version 0.6.43, it does not work, just change these parameters.

Just copy&paste all comand above and in SSH terminal and that would configure ALL parameters.

Remove hashtags in nis.bootKey and nis.bootName
Modify the bootkey, put any like remote privatekey, set a bootname, and save with: ctrl+X > Y > enter

Now all parameters are configured on your server, simply start NEM.

Run NIS:

The comand SCREEN keep the program ruinning even if you leave or refresh the terminal.

Now your NIS is open and node was booted.

Start harvesting on server by using the harvest.sh on package folder:

*You can check status of server resources usage with:

Can stop NEM more easy with that package.

Now you can use NCC in your local PC conected with remote node: Download the standalone version: http://nem.io/install.html Decompress and double click on runNCC.bat or nix.runNcc.sh (in Linux).

Click in settings and change the host to IP of your VPS.

Post errors and answers below.

UP!

EDIT: To receive notifications via EMAIL and SMS when server eventualy down, follow this guide


First page should be updated, really annoying to overwrite beta file-names  ;) Or im just blind and there is any guide for current version of NIS?

Yep i am blind... https://forum.ournem.com/vps-nodes/how-to-easily-configure-and-install-nem-on-an-amazon-ec2-vps/

Well, I forgot to update .... done! :)

Choose a VPS server, signatures are cheap, like as [url=https://www.digitalocean.com/?refcode=329a63e120ab]digitalocean, [url=http://3jelly.com/]3jelly, [url=http://haphost.com/]haphost. [url=http://www.host1plus.com/]host1plus i use host1plus( *refer codes, in thanks for guide.  ;)


I see a refcode in Digital Ocean link, no refcode in the others.


Choose a VPS server, signatures are cheap, like as [url=https://www.digitalocean.com/?refcode=329a63e120ab]digitalocean, [url=http://3jelly.com/]3jelly, [url=http://haphost.com/]haphost. [url=http://www.host1plus.com/]host1plus i use host1plus( *refer codes, in thanks for guide.  ;)


I see a refcode in Digital Ocean link, no refcode in the others.
The other does not refer program, 3jelly not work for me. : /

Updated!

I hired a vps service, 1GB RAM and 30 of HDD for $ 19 / year
[url=https://core.weloveservers.net/cart.php?a=add&pid=64]https://core.weloveservers.net/cart.php?a=add&pid=64
Can you put NEM, NXT, NODE, BC, etc. Livenet and TESTNET.  :smiley:

root@nemcoin:~# wget freevps.us/downloads/bench.sh&nbsp; &nbsp; &nbsp; -O - -o /dev/null|bash<br />CPU model :&nbsp; Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz<br />Number of cores : 4<br />CPU frequency :&nbsp; 3400.024 MHz<br />Total amount of ram : 1024 MB<br />Total amount of swap : 1280 MB<br />System uptime :&nbsp; 1:13,<br />Download speed from CacheFly: 81.3MB/s<br />Download speed from Coloat, Atlanta GA: 58.6MB/s<br />Download speed from Softlayer, Dallas, TX: 105MB/s<br />Download speed from Linode, Tokyo, JP: 4.92MB/s<br />Download speed from i3d.net, Rotterdam, NL: 9.84MB/s<br />Download speed from Leaseweb, Haarlem, NL: 32.3MB/s<br />Download speed from Softlayer, Singapore: 9.15MB/s<br />Download speed from Softlayer, Seattle, WA: 38.5MB/s<br />Download speed from Softlayer, San Jose, CA: 46.6MB/s<br />Download speed from Softlayer, Washington, DC: 54.2MB/s<br />I/O speed :&nbsp; 345 MB/s

[quote author=Saul 'cracker' Gray link=topic=2764.msg14630#msg14630 date=1427243275]


Updated!

I hired a vps service, 1GB RAM and 30 of HDD for $ 19 / year
[url=https://core.weloveservers.net/cart.php?a=add&amp;pid=64]https://core.weloveservers.net/cart.php?a=add&pid=64
Can you put NEM, NXT, NODE, BC, etc. Livenet and TESTNET.  :smiley:



Thanks for posting this, really an unbeatable price. I was literally paying 4x the price for a vps that wasnt as good.
also weloveservers responds to you fast if you have an issue, i got my problem answered and fixed within 10 minutes

EDIT: the issue i was having is i could not ssh into my vps right away. The person i spoke to said sometimes an IP will get blocked by their firewall, so they just gave me a new IP, a little annoying, but i am still very satisfied

EDIT2: Hmmmm, well my vpn is now down, ill report back in the morning, hope it is just a fluke

EDIT3: ok its backup, gonna run it a few more days and see what happens


They down does a few hours, but already re-established the servers.

I found a cheaper, but do not know if you have quality of service. If someone wants to test:
http://lowendbox.com/blog/123systems-30year-2gb-15year-512mb-and-9year-256mb-openvz-vps-in-dallas/

http://dollarvz.com/

It seems that NEM need a 800MB memory to work with [url=https://forum.ournem.com/technical-discussion/anybody-with-low-power-computer-(or-even-single-board-computer)-running-nisncc/msg13615/#msg13615]custom settings

a NOOB question----I know in BTC that, if my hard disk was destroyed, I can't get my money back. I really don't know if NEM is like that. If so, then VPS is really dangrous. :slight_smile:

If your hard disk is destroyed and you have neither backed up your wallet nor your private key, then your nem are gone. But this has imo nothing to do with a vps. You don't save a wallet on a vps and I would not save a private key to an important account there too.


a NOOB question----I know in BTC that, if my hard disk was destroyed, I can't get my money back. I really don't know if NEM is like that. If so, then VPS is really dangrous. :)

Before sending your wallet / account you must have the private key printed or written somewhere safe and accessible to you.
It is recommended to do this with all the coins that want to keep safe.

Your wallet is nothing more than a sequence of numbers in hex that match your address and are recognized by the network.

As for the theft, NEM has a multisig feature, you sign an account with another, one will be in the VPS harvesting, can not send XEM of it; is necessary go into another which can stay safe on your PC
For example, this is privkey of my account in VPS which is signed by another account, is there for those who want to hack. ;)
00d2bcc3dea76a4fedb9666585969b3e1a8ff7747ea27e3bb66a4e54cd050835b4

thanks for sharing.
weloveservers seems to have good deal 1GB for $19/year
too bad the location only in US and UK only

Would these steps still work for the live nem?


Would these steps still work for the live nem?

NEM need 1 GB of RAM to totalit is recommended 1 GB of fast RAM if not the node can become unstable.
weloveservers works well with room left over for other wallets.

First page should be updated, really annoying to overwrite beta file-names  :wink: Or im just blind and there is any guide for current version of NIS?

Yep i am blind… https://forum.ournem.com/vps-nodes/how-to-easily-configure-and-install-nem-on-an-amazon-ec2-vps/ [mixmaster: that content is no longer available, thats why we didnt move that thread to the new forum]

Thanks very much!

1 Like

Updated!

I set up a node using a free AWS account about a month ago. The node seems to be stable, but is usually a few blocks behind the majority of the other nodes. I was looking at stats and RAM usage and CPU are within reasonable limits, but bandwidth is going over 200kb. Being a free account I think Amazon is throttling my node´s bandwidth for being above the ‘free’ threshold.

AWS metrics

Can someone confirm this and advise if I can set up the node to accept less connections or some other setting that reduces the traffic but keeps the node useful and synchronized?

Thanks.