Installing Light Agent for Linux in silent mode

To install Light Agent for Linux from the command line in silent mode:

  1. On a virtual machine running a Linux operating system, create an initial setup configuration file containing the following parameters:
    • ACCEPT_EULA_AND_PRIVACYPOLICY – consent to the terms of the End User License Agreement and the Privacy Policy. Possible values: yes, no.
    • CONNECTOR_LOCALE – ID of the language localization of Light Agent for Linux. Possible values: ru, en, fr, de, etc.
    • DEFAULT_KERNEL_SOURCES – use the path to the source code of the operating system kernel detected by the application in the default folder. Possible values: yes, no.
    • KLNAGENT_SERVER – IP address in IPv4 format or fully qualified domain name (FQDN) of the computer on which the Kaspersky Security Center Administration Server is installed.
    • KLNAGENT_PORT – port number used to connect Network Agent to the Administration Server. The Kaspersky Security Center Administration Server uses port 14000 by default.
    • KLNAGENT_SSLPORT – port number used to connect Network Agent to the Administration Server using an SSL certificate. The Administration Server uses port 13000 by default.
    • KLNAGENT_USESSL – use an SSL connection to connect to the Administration Server. Possible values: 1 (use an SSL connection) or 0 (do not use an SSL connection).
    • KLNAGENT_GW_MODE – connect to the Administration Server through a connection gateway. Possible values: 1 or 0.

      Parameter values have to be entered in the format <parameter name>=<value>. Blank spaces between the parameter name and its value are ignored.

  2. Do one of the following:
    • Start the installation script by running the following command:

      # sh lightagent-5.0.X-Х-bundle.sh --auto-install=<path to the configuration file>

      where:

      • 5.0.Х-Х is the application version number.
      • <path to the configuration file> is the full path to the initial setup configuration file that was created at step 1 of these instructions. The installation script will use the settings specified in this file during initial configuration of Light Agent for Linux.
    • Declare the KLAUTOANSWERS environment variable and start the installation script by running the following commands:

      # export KLAUTOANSWERS=<path to the configuration file>

      # sh lightagent-5.0.X-Х-bundle.sh

      where:

      • 5.0.Х-Х is the application version number.
      • <path to the configuration file> is the full path to the initial setup configuration file that was created at step 1 of these instructions. The installation script will use the settings specified in this file during initial configuration of Light Agent for Linux.

    The command-line parameter --auto-install has higher priority than an environment variable.

    As a result, the installation script will perform the following actions:

    1. Install and perform initial configuration of Network Agent.
    2. Install and perform initial configuration of Light Agent for Linux.

    If the required version of Network Agent is already installed, step 1 will be skipped.

Page top