Blocks server software requires a license to be operational. Either connect a physical license key to a USB port or request a cloud-based license (requires internet access). A physical license key can be accessed either directly from a USB port attached to the virtual machine or over the local network.
To keep the base license cost of Blocks as low as possible, many functions are licensed separately. Learn more about your licensing options here.
The Linux server image provided by PIXILAB for on-premise servers is preconfigured to use a physical USB license key, connected direct to a USB port of the computer.
For additional details and Mac/Windows instructions, please refer to the Getting Started chapter in the Blocks manual.
For the cloud-based license one must obtain a credentials file from PIXILAB. This file is usually delivered by email once purchased.
Import the credentials file to your Blocks server with the following terminal-command:
cmu --import --file /path/to/140-2361345228.wbc
*The "path/to" refers to the path to file from where you terminal ls located when the program cmu is running. As this is usually running on a virtual machine, you typically use scp over an ssh connection to the computer running the terminal to first upload the credentials file to the remote computer.
This method accesses a USB license over the network, with one computer acting as the license host and the other as a licensing guest. The USB license key is be connected to the host. The guest must be able to access the host over the network. For a virtualized server, this is generally the case when itsnetwork adapter is set to bridge mode.
Verify or adjust the following setting for your host:
CodeMeter software is generally pre-installed together with Blocks, and configured to look for the license on the local network. To verify accesibility:
If you have physical access to the virtual machine host, you may prefer to connect the USB license key directly to this computer, and make the USB port accessible to the guest OS.
The host computer must NOT run the CodeMeter software, since only one driver may access the physical key at a time, and in this case that's is the driver inside the virtual machine.
To verify license key accessibility: