You can install Kaspersky Security Center on Linux devices by using an answer file to run an installation in the silent (non-interactive) mode, that is, without user participation. The answer file contains a custom set of installation parameters: variables and their respective values.
Before installation:
To install Kaspersky Security Center in silent mode:
# adduser ksc
# groupadd kladmins
# gpasswd -a ksc kladmins
# usermod -g kladmins ksc
VARIABLE_NAME=variable_value
format to the answer file, each one in a separate line. The answer file should include the variables listed in the table below.KLAUTOANSWERS
environment variable in the root environment containing the full name of the answer file including the path, for example, with the following command:export KLAUTOANSWERS=/tmp/ksc_install/answers.txt
# apt install /<path>/ksc64_[
version_number
]_amd64.deb
# yum install /<path>/ksc64-[
version_number
].x86_64.rpm -y
/opt/kaspersky/ksc64/sbin/kladduser -n ksc -p <
password
>
, where the password must contain at least 8 characters.
Variables of the answer file used as parameters of Kaspersky Security Center installation in silent mode
Variable name |
Required |
Description |
Possible values |
|
Yes |
Confirms that you understand and accept the terms of the End User License Agreement. |
|
|
Yes |
Confirms that you understand and accept the terms of the Privacy Policy. |
1 |
|
Yes |
The Administration Server DNS-name or static IP address. |
DNS name or IP address |
|
No |
The Administration Server port number. Optional, default value is 14000. |
Port number |
|
No |
The Administration Server SSL port number. Optional, default value is 13000. |
Port number |
|
No |
The Administration Server KLOAPI port number. Optional, default value is 13299. |
Port number |
|
No |
The Administration Server GUI port number. Optional, default value is 13291. |
Port number |
|
No |
The approximate number of devices that you intend to manage. Optional, default value is 1.
|
|
|
Yes |
The database server IP address. |
IP address |
|
Yes |
The database server port. |
|
|
Yes |
The database name. |
|
|
Yes |
The username of a user that has access to the database. |
|
|
Yes |
The password of a user that has access to the database. |
|
|
Yes |
The security group name for services. |
|
|
Yes |
The account name to start the Administration Server service. The account must be a member of the security group specified in |
|
|
Yes |
The account name to start other services. The account must be a member of the security group specified in |
|