Installing Light Agent for Linux via Kaspersky Security Center
July 22, 2024
ID 128864
You can install Light Agent for Linux remotely from the administrator's workstation using Kaspersky Security Center.
Installation is performed by using the Remote Installation Wizard or by using the remote installation task (for details, please refer to the Kaspersky Security Center help).
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.
Prior to beginning remote installation of Light Agent for Linux and Network Agent, you must perform the following actions on the virtual machine:
- Verify the capability to connect a client application (for example, PuTTY) to the virtual machine over the SSH protocol.
If you cannot connect to the device, open the /etc/ssh/sshd_config file and make sure that the settings have the following values:
PasswordAuthentication no
ChallengeResponseAuthentication yes
If necessary, edit the values of settings, save the /etc/ssh/sshd_config file, and restart the SSH service by using the
sudo service ssh restart
command. - Disable the sudo password prompt for the user account that is used to connect to the virtual machine. To do this, perform the following actions:
- Open the sudoers configuration file by using the
sudo visudo
command. - Specify the following in the file:
<
user name
> ALL = (ALL) NOPASSWD: ALL
where
<
user name
>
is the user account that will be used to connect to the virtual machine over the SSH protocol. - Save the sudoers file and then close it.
- Reconnect to the virtual machine over SSH and run the
sudo whoami
command to make sure that the sudo service does not require a password.
- Open the sudoers configuration file by using the
Remote installation utilizes the installation package that contains the set of parameters required for installing Light Agent for Linux and Kaspersky Security Center Network Agent. The Kaspersky Security Components Installation Wizard automatically creates this installation package during installation of Kaspersky Security MMC plug-ins and Integration Server. This installation package is stored in the Kaspersky Security Center Administration Console tree in the Additional → Remote installation → Installation packages folder with the name Kaspersky Security for Virtualization 5.2 Light Agent for Linux (5.2.X.X), where 5.2.X.X is the application version number.
You can use the installation package that was automatically created by the Kaspersky Security Components Installation Wizard, or manually create an installation package.
Joint installation of Light Agent for Linux and Network Agent that is included in Kaspersky Security Center distribution kit is not supported. If you are using the remote installation task to install Light Agent for Linux, make sure that the Install Network Agent along with this application check box is cleared in the task settings. The supported version of Network Agent is included in the installation package for Light Agent for Linux and will be installed automatically as a result of remote installation of Light Agent for Linux.
The presence of Network Agent on the virtual machine is checked prior to beginning installation. If an installed version of Network Agent that is incompatible with Light Agent for Linux component is detected, installation ends with an error. You must remove Network Agent from the virtual machine and run the remote installation of Light Agent for Linux again.