Configure Local License (Linux)

Before starting SuperMap iDesktopX, you need to configure the license. In Linux operating systems, the license configuration can be done via command line.

Configure License Information

Configure *.licx File License

Place the obtained *.licx file in the /opt/SuperMap/License directory and grant read and write permissions to this directory. The system will automatically use the license file in this directory (30 days), no other configuration is required. (Note: You need to create the directory to store the license file yourself.)

Configure Hardware License

A hardware license requires installing the license driver to connect the hardware dongle or insert the dongle. If a license server is already configured in the same subnet, the license will be automatically configured without manual configuration. If a hardware dongle license is available in another subnet, please follow the steps below to configure the license.

  1. Steps to Install License Driver:

    The license driver is located in the product package /support/SuperMap_License/Support/ directory and is named: aksusbd-8.31.1.tar. You need to perform these steps as root before installing the driver.

    • Open the terminal, set the root password if not already set, using the command: sudo passwd root
    • Switch to the root user, using the command: sudo -s
    • Enter the product package /support/ directory and extract the driver package, using the command: tar -xvf aksusbd-8.31.1.tar
    • Enter the extracted directory, using the command: cd aksusbd-8.31.1
    • Install the driver, using the command: sh dinst or ./ dinst
    • Grant execute permission. After installing the driver, you will get a 90-day trial license to use SuperMap GIS 11i series products. If dinst has no execute permission, grant it with the following command: chmod +x dinst
    • If installing the SuperMap License Center driver on a 64-bit Linux system, you might encounter the error "The 32bit support is missing…" because the system lacks the 32-bit support libraries. 

      You need to install the required support libraries as listed below.

      • libc6-i386 and ia32-libs (Ubuntu)
      • libstdc++-devel.i686, glibc.i686, libgcc.i686, libstdc++.i686, glibc-devel.i686 (RHEL, CentOS, OpenSUSE, SLES, and OES)
      • glibc-32bit (OpenSUSE, SLES, and OES)

      The recommended installation method is to run the following command in the /support directory, and the system will automatically detect and install the required libraries: ./dependencies_check_and_install.sh install -y

      If you want to uninstall the installed support libraries, run the following command: ./dependencies_check_and_install.sh uninst –y

      Note: After installing the missing 32-bit libraries, you need to run the ./dinst or sh dinst command again to get a 90-day trial license.

  2. Steps to Configure Hardware License:
    • Open a browser and visit http://localhost:1947 or http://localIP:1947.
    • Select Configuration on the left.
    • Select the Access to Remote License Managers tab on the right.
    • Enter the license server IP from another subnet in the Remote License Search Parameters and click Submit.
    • After a few minutes, you will see the hardware dongle under the Sentinel Keys section on the left.

Manage License Information

Through license management, you can view the license status, update the license, etc.

View License Status

To view the license status, run the following command in the product root directory: $ ./licensetool.sh -s

The license status information includes the product ID, module ID, product name, license type (including full and trial versions), the number of licenses, and the license expiration date.

Update License

To update the license, specify the *.licx file location and run the following command: $ ./licensetool.sh -update /path/*.licx