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.
Stop Codemeter:
sudo /etc/init.d/codemeter stop
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
Save the changes and start Codemeter:
sudo /etc/init.d/codemeter start
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.
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.Create the soft container:
cmu --import --file .UFC_SoftContainer_CmRuntime.WibuCmLif
Check if the command
cmu -x | grep 'FC=6000437'
returns an entry.
Use the command
cmu -x
to detect the serial number of the soft container where the license should be imported.Create the context file:
cmu -c 6000437 -s <serial number> --file <file name>.WibuCmRaC
Transfer the context file to a device with Internet access.
Open the address https://license.codesys.com/ and enter the number of the license ticket. Click NEXT and ACTIVATE LICENSES on the next page.
Then select the desired container type.
Click the File-based license transfer link on the right side of the next page.
Upload the previously generated context file and click Start activation now.
Download the license update file and transfer the file to the device that will act as the license server.
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:
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.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.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.