For around 3 months I've been using a Raspberry Pi 3 to run as a node for NXT. This was to take advantage of the NXT snapshot period that runs between 14th July to the 12th October 2016 and entitles you to Ardor tokens. I've never used a Raspberry Pi before and my knowledge of the command line is limited, but I was successful in setting it up with some perseverance.
Periodically, a new software release is made available and I have to try and remember all the commands again to try and update everything. The latest release at time of writing this is NRS v1.10.2, so I decided to make a note of how I updated it so I can refer back to my notes for any future updates. Hopefully someone else will find this guide useful too.
Go to the official NXT Forum where you'll find the "NRS - Official NXT Releases" sub-forum. Find the thread with the latest version, in this case NRS v1.10.2. This thread will provide a download link under the release version, similar to the following:
Release 1.10.2
https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.10.2.zip
Make a note of the URL for later.
Stop your node by holding CTRL + C
and wait until it shuts down completely.
Change to the nxt directory if required using the command cd nxt
Use the ls
command to list all files and directories. It should contain a directory called lib.
Delete the lib directory from your NXT installation directory using the command rm -r lib
Change to the root directory with cd
Using the URL from earlier, download nxt-client-1.10.2.zip (or latest version) using the command,
wget htts://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.10.2.zip;
Unzip nxt-client-1.10.2.zip using the command unzip nxt-client-1.10.2.zip;
and overwrite all files by choosing A
To start your node usecd ~/nxt
and then./run.sh
I hope you find this guide beneficial and it saves you some time. For more information about Ardor then visit their website at www.ardorplatform.org.