Installing Light Agent for Linux in interactive mode

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.1.X-X-bundle.sh

where 5.1.X-X is the application version number.

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

  1. 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.

  2. Install Light Agent for Linux.

    After Light Agent for Linux is installed, you must perform its initial configuration.

To perform initial configuration of Network Agent:

  1. In the command line, run the postinstall.pl script located in the folder /opt/kaspersky/klnagent64/lib/bin/setup/.
  2. Specify the IP address in IPv4 format or fully qualified domain name (FQDN) of the computer on which the Kaspersky Security Center Administration Server is installed.
  3. 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 documentation.

To perform initial configuration of Light Agent for Linux:

  1. Run the lightagent-setup.pl script, located in the /opt/kaspersky/lightagent/bin/ directory, from the command line.
  2. Read the text of the End User License Agreement 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.

    All application usage terms and conditions set forth in the End User License Agreement for Kaspersky Security for Virtualization 5.1 Light Agent also apply to the following Kaspersky Security updates: 5.1.1, 5.1.2 and 5.1.3.

    After exiting the viewing mode, enter yes (or y) if you accept the terms of the End User License Agreement and the Privacy Policy.

    To continue initial configuration of Light Agent for Linux, you need to accept the terms of the End User License Agreement and the Privacy Policy.

  3. 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.

  4. 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.

Page top