Setting up an NXT evaluation blockchain on a Linux VPS node
Please login or register.

Login with username, password and session length
Advanced search  


Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: Setting up an NXT evaluation blockchain on a Linux VPS node  (Read 881 times)


  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile

Setting up your own evaluation blockchain kit based on NXT is a relatively simple process.
Here is a procedure how to set this up which should work on any Linux VPS from any cloud provider.
This is not a procedure for setting up a public NXT node

Install Oracle Java
Version 1.8.0_131 is assumed. For a different version update the download link and all other references.
Code: [Select]
wget --no-cookies --no-check-certificate --header "Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
Code: [Select]
gunzip jdk-8u131-linux-x64.tar.gz
Code: [Select]
tar -xvf jdk-8u131-linux-x64.tar

Install the NXT Evaluation kit
Version 1.11.5 is assumed, update the download link to use a different version
Code: [Select]
wget https://bitbucket.org/Jelurida/nxt-evaluation/downloads/nxt-eval-client-1.11.5.shFollow the installation instructions
Code: [Select]
./jdk1.8.0_131/bin/java -jar nxt-eval-client-1.11.5.shCopy the JRE under the NXT folder so that you don't need to modify run.sh
Code: [Select]
cp -r jdk1.8.0_131/jre NXT-EVAL/jre
Code: [Select]
Run the NXT evaluation kit
Run in the console
Code: [Select]
./run.sh to
Run in the background
Code: [Select]
nohup ./run.sh &

Additional configurations
To access the API port 6876 from a remote browser and to be able to manage your node, add the following settings to conf/nxt.properties
Code: [Select]

Open inbound port 6876 (API port) and 5874 (Peer port) in the cloud provider firewall.

Connect to your node from any browser using http://<node.address>:6876
There 10 accounts each funded with 100 Million evaluation NXT available with passphrases 0, 1, ... , 9 - connect to any of these accounts and start forging

To setup a network of nodes for your evaluation blockchain, add the IP addresses of all your blockchain peers to the nxt.defaultTestnetPeers setting in nxt.properties as a semicolon separated list.
The same procedure can be used to setup an NXT public node and connect to the production blockchain. You'll need to download the official release instead of the evaluation kit.
« Last Edit: June 13, 2017, 10:12:40 am by Riker »
NXT Core Dev
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651