How to easily configure and install NEM on Ubuntu



[code]./Safe-nem-install.sh 0.6.25[/code]

[code]UpgradeNem 0.6.25[/code]



With the latest script you don`t need the version number anymore - it fetches automatically the latest version.
UpgradeNem will compare it`s own VERSION file against the one on http://bob.nem.ninja and only upgrade if there is a difference in Version number

So just use

[code]./Safe-nem-install.sh[/code]
or
[code]UpgradeNem[/code]


For everyone here - the new script is not compatible with the previous version of this script, since I introduced changes for installing and maintaining the version. To start with the current version of the script, you will need to install from scratch.
If you want keep your current data, just copy existing blockchain/wallet data to the new data directories located at /var/lib/nem. To keep your old settings, you need to edit the properties files located at /etc/nem (be sure to do this as root or via sudo - otherwise you won`t be able to save the changes)
I will provide instructions for this later on.

Something to keep in mind is, that these scripts are also BETA, while they work as is, they are subject to change if needed for better installation or a more secure setup

Enjoy the script.

ps: it`s mrpj not mrjp :P

Edit: credit for the upstart scripts goes to [url=https://forum.ournem.com/technical-discussion/secure-nis-and-ncc-setup-on-linux/]riegel

Edit:
I`ve fixed a little permission issue with the installation script and wrote a more indepth README - once jadedjack merges the changes I will write on how to switch from the old script to the current one.

Important information - for anyone not having fetched the Version 0.1.1 - the update 0.6.28 breaks the init scripts after Upgrading.

You can still use UpgradeNem to upgrade - but need to change

org.nem.core.deploy.CommonStarter
to
org.nem.deploy.CommonStarter

if the files /etc/init.d/nis and /etc/init.d/ncc


You also need to change in the file /etc/init.d/nis the following line
<br />STARTED=`grep -m 1 &quot;NEM Infrastructure Server is ready to serve&quot; $NISLOGFILE`<br />
to
<br />STARTED=`grep -m 1 &quot;NEM Deploy is ready to serve&quot; $NISLOGFILE`<br />

I got my own VPS at Amazon. I think everything is working, but I am not sure how to verify that it's 100% running:



I also want to check the version of NEM I am running at the VPS. What is the command for this?

I will change the RAM-settings. Can you tell me, how many people can use my node by default and how I can set this option?

Thanks. Is an unlockedLimit of 10 optimal for an free Amazon EC2?

Thanks. I will install it. Can you tell me, how to check how many harvesters are on my node?

Amazing work, did great with an Amazon EC2 free VPS.

For users not so much into Linux maybe one should add some minor points though:

apt-get install unzip
chmod +x ubuntu_install_nem_tools.sh install_nem.sh
and sudo the start scripts (or sudo su - beforehand)

Thank you very much!

Can you tell me, how to check how many harvesters are on my node?

Any news about this?

Right now there is not request returning the number of harvesters on your node.

I've done all necessary steps, and it seems that everything is ok, but somthing not.
I cannot see my node at nodexplorer nor nembex.
Help!




Did anyone make a backup of the master.zip from jadedjack? Please check your VPS and mirror it, please.

From irc #ournem channel:

18:24:26 Stoner19 realized that I still had the files from jadedjack's repo so I just made a new one and pushed the files

[url=https://github.com/Stoner19/Nem-Installers-master]https://github.com/Stoner19/Nem-Installers-master

Is that the one you were looking for, punkrock?

WORKED!

[code]

Hi Jadejack,


Why did you remove you scripts and your github repo  ?


FireF


Hi Jadejack,


Why did you remove you scripts and your github repo  ?


FireF


Because of this it  is banned from this forum.


Hi Jadejack,


Why did you remove you scripts and your github repo  ?


FireF


Because of this it  is banned from this forum.



Don't understand what you mean.

He means JadedJack was banned from the forum because he deleted the tutorial.


He means JadedJack was banned from the forum because he deleted the tutorial.



Okay Thanks.

Brother, Hello! I also encountered the same problem, I ask you how to solve ah? Thank you! anxious! anxious! anxious!