Installing Light Agent for Linux in interactive mode
July 22, 2024
ID 131667
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 has been loaded and the compilation packages (gcc, binutils, glibc, glibc-devel, make, ld) have been installed on the virtual machine.
To install Light Agent for Linux from the command line in interactive mode,
start the installation script by running the following command:
# sh lightagent-5.2.X-X-bundle.sh
where 5.2.X-X
is the application version number.
As a result, the installation script will perform the following actions:
- Installing the Kaspersky Security Center Network Agent.
If the required version of Network Agent is already installed, this step will be skipped.
After Network Agent is installed, you must perform its initial configuration.
- Installing Light Agent for Linux.
After Light Agent for Linux is installed, you must perform its initial configuration.
To perform initial configuration of the Network Agent:
- In the command line, run the postinstall.pl script located in the following directory:
- /opt/kaspersky/klnagent64/lib/bin/setup/ – for 64-bit operating systems
- /opt/kaspersky/klnagent/lib/bin/setup/ – for 32-bit operating systems
- Specify the IP address in IPv4 format or fully qualified domain name (FQDN) of the device on which the Kaspersky Security Center Administration Server is installed.
- If necessary, change the default values of the following settings:
- Port number used to connect Network Agent to the Administration Server and the port number used to connect using an SSL certificate.
- Capability to use an SSL connection to connect to the Administration Server.
- Capability to connect to the Administration Server through a connection gateway.
For more detailed information about installing and configuring Kaspersky Security Center Network Agent, see the Kaspersky Security Center help.
To perform initial configuration of Light Agent for Linux:
- Run the lightagent-setup.pl script, located in the /opt/kaspersky/lightagent/bin/ directory, from the command line.
- Read the text of the End User License Agreement for Kaspersky Security concluded between you and Kaspersky, and the Privacy Policy describing the handling and transmission of data. To do so, press Enter. To finish your review, use the q key.
After exiting the viewing mode, enter
yes
(ory
) if you accept the terms of the End User License Agreement and the Privacy Policy. By setting this parameter toyes
, you confirm the following:- You have fully read, understood and accept the terms and conditions of Kaspersky Security End-User License Agreement.
- You have fully read and understood the Privacy Policy, you are aware and agree that your data will be handled and transmitted (including to third countries) as described in the Privacy Policy.
The text of the End-User License Agreement and Privacy Policy is included in the application distribution kit.
You must accept the terms of the End User License Agreement and the Privacy Policy to install the application.
- Specify the ID of the language of Light Agent for Linux events that are sent to Kaspersky Security Center:
ru
,en
,fr
,de
,zh-Hans
,zh-Hant
,ja
.By default, the initial configuration script proposes using the
en
language ID. Press Enter to confirm that you want to use the English language for events or specify a different language ID. - The initial configuration script checks whether there is support for fanotify technology in the operating system.
- If the operating system supports fanotify technology, the initial configuration script proceeds to configuration of Light Agent for Linux.
- If fanotify technology is not supported by the operating system, the Linux operating system kernel module must be compiled to handle operations performed on file system objects. To start compiling the kernel module, you need to confirm that the source code of the operating system kernel is in the default folder, or specify another path to the source code of the kernel.
If the initial configuration script detects source code of the operating system kernel in the default directory, the path to that directory is displayed on the screen. Press Enter to confirm the path, or specify a different path. The initial configuration script starts compilation of the module of the Linux operating system kernel on the virtual machine.
The initial configuration script performs configuration of Light Agent for Linux. If errors are encountered during configuration, information about them is displayed on the screen.