When installing the MDM server using the graphical installer as outlined in Finalizing the installation, you can generate an installation script at the last step in the graphical installer. This script is an XML file that contains the installation configuration settings.
You can later use this generated script from your console to install the MDM server. The installation can be run by passing the installation script as a parameter to the installer as the following:
java -jar <jar name>.jar -<script name>