If fanotify technology is not supported by the operating system of the virtual machine on which you are planning to install Light Agent for Linux, prior to beginning installation, make sure that the source code of the operating system kernel is in the default folder on the virtual machine and that the compilation packages (gcc, binutils, glibc, glibc-devel, make, ld) have been installed.
To install Light Agent for Linux from the command line in the silent mode:
ACCEPT_EULA_AND_PRIVACYPOLICY
– accept the terms of Kaspersky Security End User License Agreement between you and Kaspersky and the Privacy Policy that describes processing and transmission of data. Possible values: yes
, no
.You must accept the terms of the End User License Agreement and the Privacy Policy to install the application.
By setting this parameter to yes
, you confirm the following:
The text of the End-User License Agreement and Privacy Policy is included in the application distribution kit.
CONNECTOR_LOCALE
– ID of the language localization of Light Agent for Linux. Possible values: ru
, en
, fr
, de
, zh-Hans
, zh-Hant
, ja
.DEFAULT_KERNEL_SOURCES
– use the default path to the source code of the operating system kernel. Possible values: yes
, no
. If the operating system does not support fanotify technology, you must place the source code of the operating system kernel in the default folder and specify the parameter value DEFAULT_KERNEL_SOURCES=yes
. Otherwise, installation of Light Agent will end with an error.
KLNAGENT_SERVER
– IP address in IPv4 format or fully qualified domain name (FQDN) of the device 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.
# sh lightagent-5.2.X-X-bundle.sh --auto-install=<
path to the Light Agent for Linux configuration file
>
--klnagent-auto-install=<
path to the Network Agent configuration file
>
where:
5.2.X-X
is the application version number.<
path to the Light Agent for Linux configuration file
>
is the full path to the initial setup configuration file lightagent.ini (see step 1 of these instructions). The installation script will use the settings specified in this file during initial configuration of Light Agent for Linux.<
path to the Network Agent configuration file
>
is the full path to the initial setup configuration file klnagent.ini (see step 2 of these instructions). The installation script will use the settings specified in this file during initial configuration of Network Agent.KLAUTOANSWERS
environment variable and start the installation script by running the following commands:# export KLAUTOANSWERS=<
path to the Network Agent configuration file
>
# export KLLIGHTAGENTAUTOANSWERS=<
path to the Light Agent for Linux configuration file
>
# sh lightagent-5.2.X-X-bundle.sh
where:
5.2.X-X
is the application version number.<
path to the Light Agent for Linux configuration file
>
is the full path to the initial setup configuration file lightagent.ini (see step 1 of these instructions). The installation script will use the settings specified in this file during initial configuration of Light Agent for Linux.<
path to the Network Agent configuration file
>
is the full path to the initial setup configuration file klnagent.ini (see step 2 of these instructions). The installation script will use the settings specified in this file during initial configuration of Network Agent.Paths to configuration files containing the initial settings for configuring Light Agent for Linux and Network Agent can be identical, so it can be a single configuration file.
The command-line parameter --auto-install
has higher priority than an environment variable.
As a result, the installation script will perform the following actions:
If the required version of Network Agent is already installed, this step will be skipped.