Installing Wibu CodeMeter Linux: Difference between revisions

Content deleted Content added
modernise and align with other wiki
 
(One intermediate revision by one other user not shown)
Line 5:
==Getting the CodeMeter Runtime==
 
The appropriate version of the CodeMeter Runtime can be obtained from the Wibu website at <u>[https://www.wibu.com/support/user/downloads-user-software.html https://www.wibu.com/support/user/downloads-user-software.html]</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. IfDownload your hardware supportsthe 64-bit software (which is likelyversion for modernuse systems),with using64-bit thatTUFLOW version(all ismodern recommendedversions are). From here on, we'll refer to 'Debian' or 'Red Hat' to mean any distribution in that family.
 
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, using `yum`, you can install the CodeMeter Runtime with <pre>sudo yumdnf localinstallinstall ./codemeter.rpm</pre>
 
On Debian, using `dpkg` and `apt-get`, you can install the CodeMeter Runtime with <pre>sudo dpkgapt -iinstall ./codemeter.deb</pre> If that fails due to missing dependencies, you can instead attempt <pre>sudo apt-get install -f codemeter.deb</pre>
 
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, you can usetry: <pre>sudo /etc/init.d/codemeter restart</pre>
 
== 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 43 ⟶ 50:
This assumes you see the `public` zone after the first command.
 
On Debian, you can run:<pre>sudosyntaxhighlight iptables -A INPUT -p tcp -m tcp --dport 22350 -j ACCEPT</prelang="bash">
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 code meter on the server, you would 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.
 
Similarly, if you want users to be able to access the web admin interface for code meterCodeMeter on the server, you would 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.
{{Tips Navigation
|uplink=[[Wibu_Dongles| Return to WIBU Licensing Main Page]]
}}