Preparing a Linux device for installation of Network Agent

Expand all | Collapse all

Prior to the installation of Network Agent on a Linux device, you must perform preparation steps that are required for any Linux device.

To prepare a device running Linux for remote installation of Network Agent:

  1. Make sure that the device on which you want to install Network Agent for Linux is running one of the supported Linux distributions.
  2. Download the Network Agent installation package by using the application interface or from the Kaspersky website.

    If you need to install Network Agent on a device running Linux operating system with glibc 2.5, download an installation package that includes one of the following strings in its description from the Kaspersky website:

    • For 32-bit operating systems (CentOS 5.2, CentOS 5.4, CentOS 6.4, CentOS 6.6): Old DEB Based i386 or Old RPM Based i386
    • For 64-bit operating systems (Astra Linux Special Edition RUSB.10015-01 (operational update 1.4), CentOS 5.2, CentOS 5.4, CentOS 6.4, CentOS 6.6): Old DEB Based x64 or Old RPM Based x64
  3. Make sure that the following software is installed on the target Linux device:
    • Sudo (for Ubuntu 10.04, Sudo version is 1.7.2p1 or later)
    • Perl language interpreter version 5.10 or later
  4. Test the device configuration:
    1. Check whether you can connect to the device through an SSH client (such as PuTTY).

      If you cannot connect to the device, open the /etc/ssh/sshd_config file and make sure that the following settings have the respective values listed below:

      PasswordAuthentication no

      ChallengeResponseAuthentication yes

      Do not modify the /etc/ssh/sshd_config file if you can connect to the device with no issues; otherwise, you may encounter SSH authentication failure when running a remote installation task.

      Save the file (if necessary) and restart the SSH service by using the sudo service ssh restart command.

    2. Disable the sudo password for the user account under which the device is to be connected.
    3. Use the visudo command in sudo to open the sudoers configuration file.

      In the file you have opened, add the following line to the end of the file: <username> ALL = (ALL) NOPASSWD: ALL. In this case, <username> is the user account which is to be used for the device connection using SSH. If you are using the Astra Linux operating system, in the /etc/sudoers file, add the last line with the following text: %astra-admin ALL=(ALL:ALL) NOPASSWD: ALL

    4. Save the sudoers file and then close it.
    5. Connect to the device again through SSH and make sure that the Sudo service does not prompt you to enter a password; you can do this using the sudo whoami command.
  5. If you want to install Network Agent on devices running operating system with the systemd initialization system, open the /etc/systemd/logind.conf file, and then do one of the following:
    • Specify no as a value for the KillUserProcesses setting: KillUserProcesses=no.
    • For the KillExcludeUsers setting, type the user name of the account under which the remote installation is to be performed, for example, KillExcludeUsers=root.

    Astra Linux target device

    OSnova target device

    To apply the changed setting, restart the Linux device or execute the following command:

    $ sudo systemctl restart systemd-logind.service

  6. If you want to install Network Agent on devices with the SUSE Linux Enterprise Server 15 operating system, install the insserv-compat package first to configure Network Agent.
  7. If you want to install Network Agent on devices that have the Astra Linux operating system running in the closed software environment mode, perform additional steps to prepare Astra Linux devices.
  8. If you want to install Network Agent on devices running Ubuntu Server or Ubuntu Desktop version 10.04, perform additional steps to prepare these devices.
  9. If you want to install Network Agent on devices that use the operating system RED OS 7.3.4 or later or MSVSPHERE 9.2 or later, install the libxcrypt-compat package for the correct function of Network Agent.

The Linux device is ready for installation of Network Agent. You can install Network Agent remotely, in interactive mode, or in silent mode.

Page top