Setting environment variables on primary and media server instances
Use the following procedure to set environment variables on primary and media server application instances.
To add an environment variable
- Log in to the instance as the appadmin user.
- Navigate to one of the following locations:
If you want to set a variable for both interactive and non-interactive user sessions, navigate to
/etc/profile.d/custom.sh.If you want to set a variable for interactive user sessions only, navigate to
/etc/profile.d/sh.local.
- Edit the file to add the new variable.