FAQ

  1. TOP
  2. FAQ
  3. How to activate and deactivate the license for DeviceGateway on Docker on Linux machine without GUI.
  • DeviceGateway

How to activate and deactivate the license for DeviceGateway on Docker on Linux machine without GUI.

2024.08.21

Normally, the license for DeviceGateway on Docker is activated and deactivated using the GUI. However, the following steps allow you to activate and deactivate the license in Linux without GUI.

How to activate

  1. Download the CodeMeter User Runtime from the Download page and install it on the host machine.
  2. Download the License Request Template file "Template_6001002_2004.WibuCmLIF" and place it on the host machine.
  3. Execute the following command in the terminal.
    cmu -i -f Template_6001002_2004.WibuCmLIF
  4. Memorize the serial number 130-xxxxxxxxxx shown in the terminal.
  5. Execute the following command in the terminal.
    cmu -s 130-xxxxxxxxxx -c 6001002 -f dgw.WibuCmRaC
  6. Retrieve the output file, "dgw.WibuCmRaC".
  7. Open the License page with another machine with GUI, enter the Ticket, and click the "Next" button.
  8. Click the "Activate Licenses" and click the "Activate License on Another PC" button.
  9. Upload the file "dgw.WibuCmRaC" by clicking the "Browse" button and click the "Next" button.
  10. Click the "Download License Update File Now" button, download the update file "Update_130-xxxxxxxxxxx.WibuCmRaU" and click the "Next" button.
  11. Copy the update file to the host machine and execute the following command in the terminal.
    cmu -i -f Update_130-xxxxxxxxxxx.WibuCmRaU
  12. Execute the following commands in the terminal to stop the license manager.
    sudo systemctl stop codemeter-webadmin
    sudo systemctl stop codemeter
  13. Execute the following command in the terminal to edit the configuration file, "/etc/wibu/CodeMeter/Server.ini". 
    sudo nano /etc/wibu/CodeMeter/Server.ini
  14. Change the following parameters on the configuration file and save the file.
    IsNetworkServer=1
    RemoteRead=2
  15. Execute the following commands in the terminal to restart the license manager.
    sudo systemctl start codemeter-webadmin
    sudo systemctl start codemeter
  16. The license for DeviceGateway will be activated. You can check the license status by accessing the CodeMeter WebAdmin page: http://xxx.xxx.xxx.xxx:22352. If the container 130-xxxxxxxxxx has a Product Code 7010, the license activation has been successfuly completed.


How to deactivate

  1. Open the License page with another machine with GUI, enter the Ticket, and click the "Next" button.
  2. Click the "Deactivate Licenses" button.

     
  3. Click the "Deactivate License on Another PC" button.

     
  4. Click the "Download License Update File Now" button. Then, the update file "Update_130-xxxxxxxxxxx.WibuCmRaU" will be downloaded.

     
  5. Copy the update file to the host machine, and execute the following command in the terminal to deactivate the existing license on the host machine.
    cmu -i -f Update_130-xxxxxxxxxx.WibuCmRaU

     
  6. Execute the following command in the terminal to output the receipt file.
    cmu -s 130-xxxxxxxxxx -c 6001002 -f receipt.WibuCmRaC

     
  7. Upload the receipt file "receipt.WibuCmRaC" and click the "Update Receipt File Now" button on the license page.

     
  8. The deactivation will be completed.