Local installation of iOS MDM Server on a device via an installation package
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:
- Install iOS MDM Server:
- Read the End User License Agreement. Use the command below only if you understand and accept the terms of the End User License Agreement.
- Depending on your operating system, run one of the following commands to launch the installation file:
- For Debian:
apt install /<path>/kliosmdm_<version_number>_amd64.deb
- For Red Hat Enterprise Linux:
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.
- For Debian:
- Configure iOS MDM Server using one of the methods:
- Configuration with the postinstall settings specified by the interactive step-by-step wizard:
- Run the following command:
/opt/kaspersky/iosmdm/lib/bin/setup/postinstall.pl
- Run the following command:
- Configuration with the key arguments specified as postinstall settings:
- Run the following command:
opt/kaspersky/bin/postinstall.pl -- <
params
>
where
<
params
>
is one of the settings specified in the iOS MDM Server installation settings table below.
- Run the following command:
- Configuration with the postinstall settings specified by the interactive step-by-step wizard:
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).
- Create an answer file (in TXT format) in the directory where the installation will be performed:
/tmp/answers.txt
. - Specify the required values in the answer file:
- EULA_ACCEPTED=1
Acceptance of the terms of the End User License Agreement.
- KLIOSMDM_AUTOINSTALL=1
Using a TXT answer file with iOS MDM Server installation settings.
- EXTERNALSERVERPORT=443
Port for connecting a device to iOS MDM Server.
- CONNECTORPORT=9799
Local port for connecting the iOS MDM service to Network Agent.
- LOCALSERVERPORT=9899
Local port for connecting Network Agent to the iOS MDM service.
- EXTERNAL_SERVER_URL=example.fqdn.com
External address of the device on which iOS MDM Server is to be installed.
- EULA_ACCEPTED=1
- Set the value of the KLAUTOANSWERS environment variable by entering the full name of the answer file (including the path), for example:
export KLAUTOANSWERS=/tmp/answers.txt
. - Launch the iOS MDM Server installation.
iOS MDM Server is installed and configured in silent mode automatically using an answer file.