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