Change default installation directory or default user

By default, the executed rpm files will create an unprivileged and locked user aris10 which uses /home/ARIS10 to install ARIS itself. If you want to use different settings, make sure to change them before installing the first rpm file.

To change the directory, you must set the environment variable TARGETDIR to the desired directory, for example:

export TARGETDIR=/mnt/largedisk

To change the user under which ARIS will run, you must set the environment variable user (lower case is mandatory), for example:

export user=TheOtherUser

Ensure to set the environment variables in the same user context as the package manager call that uses the environment variables.

Code Example

sudo -s

export TARGETDIR=/mnt/largedisk

export user=TheOtherUser

rpm install aris10-cloud-agent-<number>-1.x86_64.rpm