Kaspersky Security Center Web Console lets you install iOS MDM Server on a local device using an installation package, that is, without interactively inputting the installation settings.
Before installing iOS MDM Server on a device, make sure the Kaspersky Mobile Devices Protection and Management and iOS MDM Server settings plug-ins are installed.
To install and configure iOS MDM Server on a local device manually:
apt install /<path>/kliosmdm_<version_number>_amd64.deb
yum install /<path>/kliosmdm_<version_number>.x86_64.rpm -y
iOS MDM Server is installed. The installer offers to start the setup procedure by executing the postinstall.pl script.
/opt/kaspersky/iosmdm/lib/bin/setup/postinstall.pl
opt/kaspersky/bin/postinstall.pl -- <
params
>
where <
params
>
is one of the settings specified in the iOS MDM Server installation settings table below.
The names and possible values for the settings that can be configured when installing iOS MDM Server are listed in the table. You can specify these settings in any convenient order.
iOS MDM Server installation settings
Setting name |
Setting description |
Values |
---|---|---|
EULA_ACCEPTED |
Acceptance of the terms of the End User License Agreement. This setting is mandatory. |
|
DONT_USE_ANSWER_FILE |
Whether or not to use a TXT answer file with iOS MDM Server installation settings. The file is included in the installation package or stored on the Administration Server. You do not have to specify an additional path to the file. This setting is mandatory. |
|
CONNECTORPORT |
Local port for connecting the iOS MDM service to Network Agent. The default port number is 9799. This setting is optional. |
Numerical value - 9799 |
LOCALSERVERPORT |
Local port for connecting Network Agent to the iOS MDM service. The default port number is 9899. This setting is optional. |
Numerical value - 9899 |
EXTERNALSERVERPORT |
Port for connecting a device to iOS MDM Server. The default port number is 443. This setting is optional. |
Numerical value - 443 |
EXTERNAL_SERVER_URL |
External address of the device on which iOS MDM Server is to be installed. This address will be used for connecting managed mobile devices to the iOS MDM service. The device must be available for connection through iOS MDM. The address must not include the URL scheme and number of the port because these values will be added automatically. This setting is optional. |
Device FQDN - example.fqdn.com |
Example:
|
To install and configure iOS MDM Server in silent mode automatically using an answer file:
An answer file is a text file that contains a custom set of installation settings (variables and their corresponding values).
/tmp/answers.txt
.Acceptance of the terms of the End User License Agreement.
Using a TXT answer file with iOS MDM Server installation settings.
Port for connecting a device to iOS MDM Server.
Local port for connecting the iOS MDM service to Network Agent.
Local port for connecting Network Agent to the iOS MDM service.
External address of the device on which iOS MDM Server is to be installed.
export KLAUTOANSWERS=/tmp/answers.txt
.iOS MDM Server is installed and configured in silent mode automatically using an answer file.
When reinstalling iOS MDM Server from scratch, you must delete the /var/opt/kaspersky/iosmdm folder on the host with the installed iOS MDM Server. If the folder has not been deleted, the certificate of the old iOS MDM Server will be automatically used during the installation, and a reserve certificate will be issued to the newly installed iOS MDM Server address, if it has been changed.
If you only need to update iOS MDM Server without reinstalling it from scratch, you do not need to delete the specified folder.