In the klnagent.conf.example file, specify the values of the Network Agent variables. For more information, refer to Kaspersky Security Center documentation (the "Installing Network Agent for Linux in silent mode (with an answer file)" section).
Copy klnagent.conf.example to kesl-service/klnagent.conf.
Build the KESL container Docker image using the build.sh.example installation script:
If you use a proxy server, specify the desired values for the COMMON_AGRS variable.
If necessary, change the name of the target kesl-service image to the desired one.
Copy build.sh.example to build.sh and assign an executable file attribute to it.
Run build.sh.
Make sure that the build completed successfully by executing the docker images -a command.
The following command execution result is displayed:
REPOSITORY TAG IMAGE ID CREATED SIZE
kesl-service latest <hex> <creation time> <size>
Activate the KESL container in one of the following ways:
<KESL container port> is the port of the KESL container, which must be accessible by the network from outside the KESL container.
<device_port> –is the port of the device where the KESL container is installed.
You can see an example of the run command in the file run.sh.example.
If you want to activate the KESL container using an environment variable, do one of the following:
If you want to specify an activation code, add the following setting when starting the KESL container (see step 7): KRAS4D_ACTIVATION ='<activation code>':
docker run ... -e KRAS4D_ACTIVATION='<activation code>'
If you want to apply the key file, add the following options when starting the KESL container (see step 7): KRAS4D_ACTIVATION ='<key file>' and KRAS4D_KEYPATH=/root/kesl-service/keys:
docker run ... -e KRAS4D_ACTIVATION='<key file>' -e KRAS4D_KEYPATH=/root/kesl-service/keys -v <path to the directory with keys>:/root/kesl-service/keys