Installing Wibu CodeMeter Linux: Difference between revisions
Content deleted Content added
No edit summary |
modernise and align with other wiki |
||
| (7 intermediate revisions by 2 users not shown) | |||
Line 5:
==Getting the CodeMeter Runtime==
The appropriate version of the CodeMeter Runtime can be obtained from the Wibu website at <u>
If you are using Debian, Ubuntu, Mint or another Linux distribution in the Debian family of distributions, you should obtain a copy of the `.deb` installer for your hardware. If you are using Red Hat (RHEL), Fedora, CentOS, Rocky, or another Linux distribution in the Red Hat family of distributions, you should obtain a copy of the `.rpm` installer for your hardware.
Depending on your level of access to the machine running Linux and whether or not it is running a graphical user interface, you may have some trouble getting the file onto your machine. You can download the file directly from the command line with: <pre>wget -O codemeter.rpm <direct link></pre> where "<direct link>" is the 'direct link' provided on the Wibu download page for the version you are downloading.
The download page also provides an MD5 checksum. You can run <pre>md5sum codemeter.rpm</pre> and verify that the file you downloaded was downloaded correctly by comparing this checksum.
If your Linux distribution does not provide `wget`, you can obtain a copy on Debian with `sudo apt-get install wget` and on Red Hat with `sudo yum install wget`.
Line 17:
==Installing the CodeMeter Runtime==
On Red Hat
On Debian
Once these commands complete (on either Debian or Red Hat), you can start, stop and restart the services with `systemctl`: <pre>sudo systemctl restart codemeter.service</pre>
Alternatively, if `systemctl` is not available to you,
== Configuring Codemeter Runtime for Server Host ==
Turn off codemeter service (Note: If this is not completed you will not be able to edit the config files):<pre>sudo systemctl stop codemeter.service</pre>Open <code>/etc/wibu/CodeMeter/Server.ini</code> with write access.
Within Server.ini set: <code>IsNetworkServer=1</code>
Restart the CodeMeter service:<pre>sudo systemctl start codemeter.service</pre>
==Configuring the CodeMeter Runtime==
Line 39 ⟶ 46:
On Red Hat, you can achieve this with:<pre>sudo firewall-cmd --get-active-zones
sudo firewall-cmd --zone=public --add-port=
sudo firewall-cmd --reload</pre>
This assumes you see the `public` zone after the first command.
On Debian, you can run:<
sudo ufw allow 22350/tcp
</syntaxhighlight>
Alternatively, if `ufw` is not available to you, try:<pre>sudo iptables -A INPUT -p tcp -m tcp --dport 22350 -j ACCEPT</pre>
Similarly, if you want users to be able to access the web admin interface for CodeMeter on the server, you need to ensure the firewall allows request on port 22352 (for http) and/or 22353 (for https). However, access to the web admin interface from other machines is not required for obtaining a license and in typical configurations, you would be able to access the web admin interface on the host itself (localhost) without additional firewall rules.
| |||