Wibu CodeMeter Server on Red Hat (RHEL) or CentOS

Our Station IC product is licensed by software running on the client PC.

This software is also available as a server application on Windows and Mac - https://www.wibu.com/products/codemeter/network-license-server.html . There are some organizations who wish to run the License Server on Red Hat and installation on this platform is far less friendly than on Windows, so here is a guide to getting CodeMeter Network License installed on Red Hat using the command line. Editing of the configuration file and setting up the firewall will be easier using the graphical user interface, if that is available.

The required file is linked below, but the latest version can be found at https://www.wibu.com/support/user/user-software.html. These instructions will help to get the runtime installed and present a web interface.

From a command line / terminal, retrieve and install the runtime:

sudo yum install wget
wget -O codemeter.rpm https://clearcom.ftpstream.com/download/vyyztVm9m8fsgPotkZ3X/cc-home/AE/Erik/CodeMeter-7.40.4990-500.x86_64.rpm
sudo yum localinstall codemeter.rpm
sudo systemctl restart codemeter.service

Configure the firewall to allow TCP 22350 (license serving) 22352 (HTTP) and 22353 (HTTPS):

sudo yum install firewalld
sudo systemctl start firewalld
sudo systemctl enable firewalld
sudo systemctl status firewalld
sudo firewall-cmd --get-active-zones
sudo firewall-cmd --zone=public --add-port=22350/tcp --permanent
sudo firewall-cmd --zone=public --add-port=22352/tcp --permanent
sudo firewall-cmd --zone=public --add-port=22353/tcp --permanent
sudo firewall-cmd --reload

Stop the service and then edit the ini file:

sudo systemctl stop codemeter.service
cd /etc/wibu/CodeMeter
sudo vi Server.ini

Set

IsNetworkServer = 1, and [HTTP] RemoteRead to a value of 2

Restart the service

sudo systemctl start codemeter.service
sudo start codemeter-webadmin.service

Check the service is running correctly. If the binding says localhost the RemoteRead value is not set to 2 in the Server.ini file:

systemctl status codemeter-webadmin.service

Use a web browser to check the WebAdmin page is working: http://your-ip-address:22352/.

If the connection times out, try wget http://localhost:22352 - if an index.html file is saved, then there’s a firewall issue on the server. You can temporarily disable the firewall using:

sudo systemctl stop firewalld

Be sure to start the firewall again when testing is complete:

sudo systemctl start firewalld