Installing the agent silently using a configuration file

You can automate agent installation by running the install.sh script in non-interactive mode:

install.sh -n

In this mode, the script uses configuration details specified in the centrifyda-install.cfg file. If this file is not found, the install.sh script uses its built-in default values.

To specify configuration values, edit the sample centrifyda-install.cfg file in its default location, or create a new text file with the same name, and then run the install.sh script.

In the file, INSTALL=Y installs the agent, and INSTALL=U upgrades the agent.

By default, the script returns an exit code of 0 if the operation is successful. To return exit codes that provide more detailed information about the result, use:

install.sh -n --custom_rc 
This return code Indicates

CODE_SIN=0

Successful install

CODE_SUP=0

Successful upgrade

CODE_SUN=0

Successful uninstall

CODE_NIN=24

Did nothing during install

CODE_NUN=25

Did nothing during uninstall

CODE_EIN=26

Error during install

CODE_EUP=27

Error during upgrade

CODE_EUN=28

Error during uninstall

CODE_ESU=29

Error during setup; for example, unsupported operating environment or invalid arguments