Skip to main content

Installing the License Server without a Package Manager

Requirement: Codemeter Runtime is installed on the device.

For more information about installing Codemeter without a package manager, see: Manual installation of the Codemeter runtime environment on the target device

Important

CODESYS WBM can only be used with Cockpit. Your computer must also have a connection to the target device and to the Internet at the same time.

If Cockpit is not installed and or cannot be installed:

You need to manually set up the license server, create the soft container, and import the licenses.

Procedure. Set up the license server
  1. Stop Codemeter: sudo /etc/init.d/codemeter stop

  2. Switch to the network server.

    To do this, you need to set the value IsNetworkServer to 1 in /etc/wibu/CodeMeter/Server.ini: IsNetworkServer=1

  3. Save the changes and start Codemeter: sudo /etc/init.d/codemeter start

Procedure. Create a soft container
  1. Check if a soft container already exists: cmu -x | grep 'FC=6000437'

    If an entry is listed, then you can skip this section because a soft container already exists.

  2. Unpack the license server Debian package.

    This package is normally included in the CODESYS package of the license server. This contains a file .UFC_SoftContainer_CmRuntime.WibuCmLif in /opt/codesyslicenseserver/bin. Transfer this to the device on where the license server should run.

  3. Create the soft container: cmu --import --file .UFC_SoftContainer_CmRuntime.WibuCmLif

  4. Check if the command cmu -x | grep 'FC=6000437' returns an entry.

Procedure. Import a license
  1. Use the command cmu -x to detect the serial number of the soft container where the license should be imported.

  2. Create the context file: cmu -c 6000437 -s <serial number> --file <file name>.WibuCmRaC

  3. Transfer the context file to a device with Internet access.

  4. Open the address https://license.codesys.com/ and enter the number of the license ticket. Click NEXT and ACTIVATE LICENSES on the next page.

  5. Then select the desired container type.

  6. Click the File-based license transfer link on the right side of the next page.

  7. Upload the previously generated context file and click Start activation now.

  8. Download the license update file and transfer the file to the device that will act as the license server.

  9. Import the file: cmu --import --file <file name>.WibuCmRaU

    The license is now activated.

If Cockpit is installed

Copy the files of the CODESYS WBM into the system:

  1. Unpack the Debian package codesyswbmbase and copy the files located in /usr/share/cockpit/codesys_wbm to a directory of the same name in the same path on your system.

  2. Unpack the Debian package codesyswbmlicensing and copy the files located in /usr/share/cockpit/codesys_wbm/codesys_licensing to a directory of the same name in the same path on your system.

  3. Restart Cockpit: systemctl restart cockpit.socket

    Now you should be able to access the Cockpit interface via your browser on port 9090 and perform the licensing process there using CODESYS WBM.