Installing and Running a Standalone Archive Node


You can install a Radix Node as a standalone service, without using Docker as a container. The example given here assumes the use of an AWS instance, but can be applied to any Unix-based system. There are a number of steps to the installation:

  1. Create a radixdlt user for running the node.

  2. Install the required packages

  3. Install and run the node.

  4. Configure the Nginx server

If you’re looking to install the node as a Docker container, then follow the instructions here.


We’re assuming that you have access to a Unix-based server with 500 GB of free SSD space and network bandwidth of 10 GBps or above. It’ll probably take about half an hour to run through the whole installation.

Install Required Packages

  1. Execute the following command to make sure the packages on your system are up to date.

    sudo apt update -y
  2. You’re going to need to generate secure keys during the installation, so make sure that the necessary packages for this are installed.

    sudo apt install rng-tools
    sudo rngd -r /dev/random

Configure the Ports

The node requires that a number of ports are accessible on your server. Ensure that ports 443 30000 are available and can be seen externally.

HTTPS port for all API end points

 sudo ufw allow 443/tcp

GOSSIP port for node to node communication

 sudo ufw allow 30000/tcp

If you are using a cloud service then you must also arrange for external port access through your service provider: this is usually done through the service management console.

If you are hosting the service yourself, then you may need to open access to the ports through your hardware router.

For more information on the ports used by the Radix service, please consult the Ports used by the Radix Node documentation.

Create the Radix User

For security, you’re going to run the node as specialized user, rather than an administrator.

  1. Execute the following commands to create a new user radixdlt.

    sudo useradd radixdlt -m

    And then to set the password:

    sudo passwd radixdlt
  2. You’re going to allow radixdlt user to manage the radixdlt-node service by creating a file in /etc/sudoers with the following content:

    sudo sh -c ' cat > /etc/sudoers.d/radixdlt << EOF
    radixdlt ALL= NOPASSWD: /bin/systemctl enable radixdlt-node.service
    radixdlt ALL= NOPASSWD: /bin/systemctl restart radixdlt-node.service
    radixdlt ALL= NOPASSWD: /bin/systemctl stop radixdlt-node.service
    radixdlt ALL= NOPASSWD: /bin/systemctl start radixdlt-node.service
    radixdlt ALL= NOPASSWD: /bin/systemctl reload radixdlt-node.service
  3. You can check that the file has been created properly by executing the following command:

    sudo ls -l /etc/sudoers.d

    You should see the radixdlt file in the directory listing.

  4. Create a system service file for the node, and put it under the ownership of the radixdlt user.

    sudo touch /etc/systemd/system/radixdlt-node.service
    sudo chown radixdlt:radixdlt /etc/systemd/system/radixdlt-node.service

Install the JDK Software Packages

  1. Execute the following command to download the Java package:

     sudo apt install -y openjdk-11-jdk
  2. Install unzip to uncompress packed files, and wget to download files from remote servers.

    sudo apt install -y unzip wget

Create Directories

Here, you will create directories which will eventually hold the Node software and the ledger data.

  1. First, create the directory and set permissions for the Node software.

    sudo mkdir  /etc/radixdlt/
    sudo chown radixdlt:radixdlt -R /etc/radixdlt
  2. Now, create the directory and set permissions for the Radix ledger.

    sudo mkdir /data
    sudo chown radixdlt:radixdlt /data

Download the Radix Distribution

Download and unpack the Radix distribution.

The following actions must be carried as the radixdlt user
  1. Execute the following command to switch to the radixdlt user you created previously.

    sudo su - radixdlt
  2. Go to and look for the entry with the Latest release marker.

  3. You should see a release asset zip file that starts with radixdlt-dist.

  4. Paste the URL you copied into a wget command to retrieve the zip file.

  5. Then unpack it.

    unzip  (1)
    1 The file name should correspond to the release version you have downloaded.

    Move the file to its executable directory.

    mv radixdlt-1.0-beta.35.1/ /etc/radixdlt/node
  6. Change to the directory:

    cd /etc/radixdlt/node

At this stage, it’s worth checking the directory by executing the ls -al command. It should contain directories for bin and lib.

Create the Keys

You will use the Radix key generator to create secure keys for the node.

If you lose your key file then you will also lose your original node address when you generate a new key.

Always make sure that you create a copy of your key as soon as you’ve generated it.

  1. Create a directory to hold the keys.

    mkdir /etc/radixdlt/node/secrets
  2. Then, run they key generator

    ./bin/keygen --keystore=secrets/validator.ks --password=SET_YOUR_PASSWORD

    This will create the keys and write them to the secrets folder.

Don’t forget to set your own password for the key!

Create a file with environment variables

Now you’re going to create a file that will contain the environment variables for the service.

cat > /etc/radixdlt/node/secrets/environment << EOF
JAVA_OPTS="-server -Xms3g -Xmx3g -XX:+HeapDumpOnOutOfMemoryError -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector"
1 This is the same password you used to generate the keys

Get the Universe File

Once it’s up and running, your node will need to attach itself to the network through an existing node. To do this, you’ll need to get the configuration of the other node. There are a number of Radix nodes that you can use.

Europe US Australia Asia Region

And you can use curl to retrieve the file:

curl -k > /etc/radixdlt/node/universe.json


In this part, you’re going to create all the configuration files for the node.

Create Node Configuration File

Create the file: /etc/radixdlt/node/default.config and populate it with the following content:




The TCP port for listening to inbound connections. Set the port address to 30001 so that it doesn’t clash with the Nginx server you’ll be installing later.


This is the address of the node you are connecting to.


The external ip address of your server. You can find out your external IP address with the following command:


The HTTP port for the node API. Set this port to 3334 to prevent clashes with the Nginx server.


This is required for archive nodes; set the value to true.


The HTTP port for the client API. Set this port to 8081 to prevent clashes with the Nginx server. This is only needed if client_api.enable=true

Populate System Control File

The file /etc/systemd/system/radixdlt-node.service configures the node to run a system service. You created the file in an earlier section, but now you’re going to populate it with the following:

Description=Radix DLT Validator




Start Your Node

You are now ready to start your node. Execute the command:

sudo systemctl start radixdlt-node.service

Enable Your Node at Startup

You can now enable your node service to start up at when the server starts. Execute the command:

sudo systemctl enable radixdlt-node.service

Installing Nginx

Nginx is the front-end web server that handles secure requests between the node and the outside world. The installation runs as a superuser, so if you are still using your terminal as radixdlt user then exit the radixdlt session now:


Now run the following command to run the installation:

sudo apt install -y nginx apache2-utils

Nginx comes with a predefined site directories that you’re not going to need, so you can delete them.

sudo rm -rf /etc/nginx/{sites-available,sites-enabled}

Download Nginx Configuration Files

Download and unpack the Nginx distribution.

  1. Go to and look for the entry with the Latest release marker.

  2. You should see a release asset

  3. Paste the URL you copied into a wget command on your server to retrieve the zip file.

  4. Unzip the nginx configuration.

  5. Copy the files to the Nginx installation directory.

    sudo cp -r conf.d/ /etc/nginx/
    sudo cp nginx-archive.conf /etc/nginx/nginx.conf

Create Nginx Cache Directory

Nginx requires a cache directory for storing the reusable artifacts it downloads. Use the following command to create the cache:

sudo mkdir -p /var/cache/nginx/radixdlt-hot

Create the SSL Certificates

You can use your own SSL certificates if you wish, but for convenience, you’ll find the instructions for creating a set here.

  1. Create the directory to hold the certificates:

    sudo mkdir /etc/nginx/secrets
  2. Create the SSL keys using the following command:

    sudo openssl req  -nodes -new -x509 -nodes -subj '/CN=localhost' -keyout "/etc/nginx/secrets/server.key" -out "/etc/nginx/secrets/server.pem"
  3. And now execute this command to make sure the keys are in the correct format:

    sudo openssl dhparam -out /etc/nginx/secrets/dhparam.pem  4096
    This command may take a minute or more to run.
  4. Run the next command to set the authentication password for the server’s admin user:

sudo htpasswd -c /etc/nginx/secrets/htpasswd.admin admin

Start Nginx

Now, to start Nginx, execute the following command:

sudo systemctl start nginx

You can check that your node is running by executing an JSON-RPC call and making sure you get back a response:

curl -s -u admin:<nginx_password_of_your_choice> \
  -X POST -k 'https://localhost/rpc' \
  -H 'Content-Type: application/json' \
  --data-raw '{"jsonrpc": "2.0", "method": "radix.nativeToken", "params": [], "id": 1}'

which should return the native token setup for your node:

  "result": {
    "tokenInfoURL": "",
    "symbol": "xrd",
    "isSupplyMutable": true,
    "granularity": "1",
    "name": "Rads",
    "rri": "xrd_rb1qya85pwq",
    "description": "Radix Betanet Tokens",
    "currentSupply": "999999999999999999999998113800000000000000000",
    "iconURL": ""
  "id": 1,
  "jsonrpc": "2.0"

If you’re getting connection errors when trying to connect to the node, then you may need to restart the node and nginx so they sync correctly. Try executing the following commands:

sudo su - radixdlt
sudo systemctl restart radixdlt-node.service
sudo systemctl restart nginx