Starting automatic initial configuration of the Kaspersky Security 8 for Linux Mail Server web interface

August 21, 2023

ID 67410

Initial configuration of the web interface of Kaspersky Security 8 for Linux Mail Server can be performed in automatic mode. You can create a configuration file that saves your responses to commands by using the --create-auto-install=<full path to the configuration file> parameter when running the program's initial configuration script.

Possible values should be typed using lower-case characters.

To start initial configuration of the Kaspersky Security 8 for Linux Mail Server web interface in automatic mode, run the following command:

  • for Linux:

/opt/kaspersky/klmsui/bin/klmsui-setup.pl \

--auto-install=<full path to the configuration file with the saved answers>

  • for FreeBSD:

/usr/local/bin/klmsui-setup.pl \

--auto-install=<full path to the configuration file with the saved answers>

The settings of the configuration file with answers are given in the following table.

Configuration file settings with answers for the Kaspersky Security 8 for Linux Mail Server web interface

Setting

Description

Available values

WEB_EULA_AGREED

Required setting.

Acceptance of the terms of the License agreement.

yes

PRIVACY_POLICY_AGREED

Required setting.

Acceptance of the terms of the Privacy Policy.

yes

APACHE_BIN

Required setting.

Path to the directory of the Apache web server.

<path>

Case sensitive.

APACHE_CONF_D

Required setting.

Path to the settings directory of the Apache web server.

<path>

Case sensitive.

APACHE_INIT_D

Required setting.

Path to the startup script of the Apache web server.

<path>

Case sensitive.

VHOST_TYPE

Required setting.

Method of configuration of the virtual server of the Apache web server.

name | port | dir

VHOST_PORT

Required setting if the value of the VHOST_TYPE setting is equal to "port".

Number of the port on the virtual server of the Apache web server.

<port>

VHOST_DIR

Required setting if the value of the VHOST_TYPE setting is equal to "dir".

 

Specifies the path to the folder with the files of the Kaspersky Security 8 for Linux Mail Server web interface.

<url_subdir>

VHOST_HOST

Required setting if the value of the VHOST_TYPE setting is equal to "name".

Specifies the name of the virtual Apache web server.

<hostname>

UI_HOST

Required setting.

Defines the socket (IP address and port) for interaction of the Apache web server with Kaspersky Security 8 for Linux Mail Server.

<host:port>

CERT_TYPE

Required setting.

Type of certificate. If the type is set to "new", the certificate is created by the initial configuration script.

The type "keep" is included in the list and selected by default if the certificate already exists.

new | file | keep

CERT_KEY

Required setting if the value of the CERT_TYPE setting is equal to "file".

Path to the private key to the Apache web server.

<path>

Case sensitive.

CERT_CRT

Required setting if the value of the CERT_TYPE setting is equal to "file".

Path to the certificate of the Apache web server.

<path>

Case sensitive.

IGNORE_APACHE_ARCH

Optional setting.

Specifies whether or not to ignore the error when the klmsui-setup.pl script cannot determine the bit value of the installed Apache server.

If the bit value of the server cannot be determined and the key value is set to "yes", integration continues.

yes | no

 

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.