Installing the Anjuna Nitro Runtime

Once you have installed the package dependencies required by Nitro, you can install the Anjuna Nitro Runtime on this Nitro EC2 instance.

If you already installed a different version of the Anjuna Nitro Runtime, you should skip to the next section, Upgrading the Anjuna Nitro Runtime.

Get the Installer

Access the Anjuna Resource Center to get the Anjuna Nitro Runtime  —  anjuna-nitro-runtime.1.25.0005.tar.gz

Install the Anjuna Nitro Runtime

Extract the tools into /opt/anjuna/nitro:

You must extract the tools into /opt/anjuna/nitro. Using any other directory may cause issues with the runtime.
$ sudo mkdir -p /opt/anjuna/nitro
$ sudo tar -xvoz -C /opt/anjuna/nitro -f anjuna-nitro-runtime.1.25.0005.tar.gz


Refer to Upgrading the Anjuna Nitro Runtime if you are upgrading from a previous version.
$ sudo setcap cap_net_bind_service=+ep  /opt/anjuna/nitro/bin/anjuna-nitro-netd-parent

Set up the environment variables

$ export PATH=$PATH:/opt/anjuna/nitro/bin

To make sure that this environment variable is always defined properly, add the line above to your ~/.bash_profile, which ensures that it is defined automatically every time you log in.

Create a folder for logs

$ sudo mkdir -p /var/log/nitro_enclaves

The Anjuna Nitro tools will store their logs in this directory.

The /var/log/nitro_enclaves directory must exist for the logs.