Mobile Device Connector installation - Linux

You can install Mobile Device Connector on a different server than the one on which your ESMC Server is running. This can be useful if, for example, you want to make Mobile Device Connector accessible from the internet so that the user's mobile devices can be managed at all times.

Installation of the MDC component on Linux is performed using a command in the Terminal. Make sure all prerequisites are met. You can prepare an installation script and then execute it using sudo.

There are many optional installation parameters, but some of them are required.
 
Your ESMC Peer Certificate is required for installation. There are two methods to get the ESMC peer certificate:

Server assisted installation - you will need to provide ESMC Web Console administrator credentials (installer will download required certificates automatically).

Offline installation - You will need to provide a Peer Certificate (the Proxy certificate exported from ESET Security Management Center). Alternatively, you can use your custom certificate.

Installation command parameters that must be provided:

HTTPS (Proxy) certificate:

--https-cert-path=
--https-cert-password=

Peer Certificate:

For a Server assisted installation at least include:

--webconsole-password=

For an Offline installation include:

--cert-path=
--cert-password= (password is not needed for the default Agent Certificate created during initial ESMC Server installation)

Connection to ESMC Server (name or IP address):

--hostname=

For a MySQL database include:

--db-type="MySQL Server"
--db-driver=
--db-admin-username=
--db-admin-password=
--db-user-password=

For a MSSQL database include:

--db-type="Microsoft SQL Server"
--db-driver=
--db-admin-username=
--db-admin-password=
--db-user-password=

Example of an installation script
(New lines are split by "\" for copying the whole command to Terminal.)

sudo ./mdmcore-linux-x86_64-0.0.0.0.sh \
--https-cert-path="./proxycert.pfx" \
--https-cert-password="123456789" \
--port=2222 \
--db-type="MySQL" \
--db-driver="MySQL" \
--db-admin-username="root" \
--db-admin-password=123456789 \
--db-user-password=123456789 \
--db-hostname="127.0.0.1" \
--webconsole-password=123456789 \
--hostname=username.LOCAL \
--mdm-hostname=username.LOCAL

For a complete list of available parameters (print help message), use:

--help

After installation, verify that the eramdmcore service is enabled and started:

systemctl enable eramdmcore

systemctl start eramdmcore

or

service eramdmcore enable

service eramdmcore start

Keep in mind that these commands may change based on your Linux distribution.

Installer log

The installer log may be useful for troubleshooting and can be found in Log files.

After installation is complete, check to see if the Mobile Device Connector is running correctly by opening https://your-mdm-hostname:enrollment-port (for example, https://eramdm:9980) in your web browser. If the installation was successful, you will see following message:

mdm_check

You can also use this URL to check the availability of the Mobile Device Connector server from the internet (if configured in such a way) by visiting it from a mobile device. If you are unable to reach the page, check your firewall and the configuration of your network infrastructure.