You can install Network Agent using the command line in one of the following ways:
Run the installation and initial configuration in silent mode with an answer file. An answer file is a text file that contains a custom set of settings for the installation and initial configuration of Network Agent.
Install Network Agent from an RPM or DEB package in accordance with the type of package manager, then perform initial configuration of Network Agent using a script in interactive mode. The script is run with the following command:
The Network Agent installation must be started with root privileges.
To install Network Agent in silent mode:
Create an answer file. In the answer file, enter a list of Network Agent installation and initial configuration settings in the format <setting>=<value>, with each setting on a separate line.
To use an answer file correctly, you must include the following required settings:
KLNAGENT_SERVER: fully qualified domain name (FQDN) or IP address of the Administration Server.
KLNAGENT_AUTOINSTALL: this setting determines whether installation in silent mode is enabled. Specify 1.
EULA_ACCEPTED: consent to the conditions of the End User License Agreement for Network Agent. You must accept the terms of the End User License Agreement to continue the installation. You can read the text of the End User License Agreement in the license.txt document from the Network Agent distribution kit. If you understand and accept the conditions of the End User License Agreement, specify 1.
You can also add other settings for the installation and initial configuration of Network Agent. For a full list of possible settings, refer to the Kaspersky Security Center Help system (section "Installing Network Agent for Linux in silent mode (with an answer file)").
Set the value of the KLAUTOANSWERS environment variable by entering the full name of the answer file (including the path), as per the following example: