How do I install the SDK?

Before you begin

If the SDK is being installed on top of an existing SDK setup (upgrade scenario), use the command ./nsp-mdm-sdk.sh stop to stop the SDK application and continue with the installation.

Steps
 

Download the MDM server and SDK application installer files from the NSP downloads page on the Nokia Support portal.


Open a console window and navigate to the folder where the installer files are located. Depending on your OS, you may need to change the permissions for each of the installer files.

For example, chmod +x mdmsdk-*.sh


Place the valid NSP license file in a folder containing the installer files before starting the installation.

Without a valid license file, the following prompt is displayed during the installation.

Please place the valid NSPLicense.zip in the current directory for SDK installation and proceed.


Run the downloaded MDM server installer file.

For example, ./mdmsdk-mdm-server-<version>.sh


Run the downloaded SDK application installer file.

For example, ./mdmsdk-installer-<version>.sh

If the admin user is not already present, the following prompt is displayed.

Input your desired user or Press Enter for the Default user [admin] to be created:

When you enter a custom user name, the following prompt is displayed.

Input your desired user or Press Enter for the Default user [admin] to be created: <user_name>

Changing password for user <user_name>.

New password:


Enter the password.

The following prompt is displayed.

Retype new password:


Re-enter the password. The following prompt is displayed and SDK installation begins.

passwd: all authentication tokens updated successfully.

Note: Python and Git are installed in the process. If the Python or Git download fails, see Web Proxy.

A prompt is displayed to specify the <sdk-installation-directory> where the SDK should be installed.

Input your desired installation directory

[Press Enter for default: /root/nsp-mdm-sdk]:

Note: When requested for an installation directory during upgrade scenario, enter the same value as in the previous installation directory.


Perform one of the following

  • Specify a new location for the installation directory.

  • Specify an existing location for the installation directory. If the <sdk-installation-directory> already exists on the system, ensure that it has the necessary permissions to allow the SDK installer to write to it, otherwise, the installation will fail.


When the installation is finished, close the console window.

Note: The ndk user and group are created as part of the installation process. User authentication and ownership of the SDK filesystem will be assigned to this user.

End of steps