To install or upgrade the Linux Agent in silent mode, run the following command in the directory where the installation kit is located:
install.sh [options]
Where options are optional parameters for running the installation kit in silent mode. For a list of available parameters, see Linux Agent installation parameters.
Linux Agent installation parameters
Parameter |
Description |
-shutdown | -s |
Force the Agent to shutdown, if running. |
-force | -F |
Force the installation; skip the initial free space check. |
-defaults | -D |
Use the default values for installation. |
-force-defaults |
Force the installation using the defaults (assumes -s and -F). |
-web-registration=off -W- |
Turns off Portal registration. |
-web-registration=file -W=file |
Attempts to register to Portal with the values found in the FILE. See Linux Agent registration options. |
-quiet | -Q |
Quiet install; does not echo output to the screen. If user interaction is required in quiet mode, the install will fail unless -force-defaults is specified. |
-log=NAME | -L=NAME |
Writes the installation log to the specified file NAME. |
-lang=NAME | -l=NAME |
Selects NAME as the language. Must begin with an ISO language code. May optionally be followed by a dash or underscore and an ISO country code (e.g., fr, fr-FR, and fr_FR are acceptable). Character set markers (e.g., UTF-8) are ignored. Languages that cannot be matched will report an error and the language will be defaulted to en-US [English (US)]. If not specified, the language will be guessed from your system value of "en_US.UTF-8". |
-backup=DIR | -B=DIR |
Backs up the current installation of the Agent to the specified directory. |
-verify | -V |
Verifies the integrity of the installation kit. |
-help |
Shows install.sh command options. |
Linux Agent registration options
For the -web-registration=FILE command, you can create a separate file to supply the following values as responses:
wccAddress=ADDRESS_OF_AMP_SERVER
wccPort=PORT_OF_AMP_SERVER # Defaults to 8086
wccLogin=PortalUserName
wccPassword=PortalPassword
Use the values provided by your administrator in these lines for address, port, and login name/password.
Note: This command only applies during installation. It works with the install.sh script, but not the register script.