Linux

We recommend installing License server to a separate virtual machine in order to simplify its administration. License server doesn’t depend on a third-party software, consumes 10MB of physical memory and grows by 200KB for each active client.

There are two versions of Linux installation packages:

  • RPM - package for RHEL, CentOS, Fedora and other rpm-based distros. The package was built and tested on CentOS 7 and expected to work on all versions above.

  • tar.bz2 - binary files for any other Linux system with glibc >= 2.12.

RPM installation:

Installation steps described here were made on the raw installation of CentOS 7 Minimal. If you have any trouble installing it on your system, please contact us.

$ sudo yum install https://downloads.faceform.com/file/faceform/LicenseServer/1.2.12/57b0d7318f8c7a5a3df3e9661e223ab3/faceformlicserver-1.2.12-1.el7.x86_64.rpm
$ sudo mkdir -p /etc/opt/faceformlicserver/licenses
$
$ # Enable and start faceformlicserver systemd service.
$ sudo systemctl enable faceformlicserver.service
$ sudo systemctl start faceformlicserver.service
$
$ # Firewall configuration blocks arbitrary incoming connections.
$ # Allow connections to the port 7307 which faceformlicserver listens by default.
$ sudo firewall-cmd --permanent --new-service=faceformlicserver
$ sudo firewall-cmd --permanent --service=faceformlicserver --add-port=7307/tcp
$ sudo firewall-cmd --permanent --service=faceformlicserver --set-short="Faceform License Server"
$ sudo firewall-cmd --permanent --add-service=faceformlicserver
$ sudo firewall-cmd --reload

tar.bz2 installation:

$ # Download and put in /opt/faceformlicserver.
$ # /opt/faceformlicserver is not required but otherwise additional configuration will be needed.
$ curl https://downloads.faceform.com/file/faceform/LicenseServer/1.2.12/985987583014b0f78e398b67c521c082/faceformlicserver-1.2.12.tar.xz -O
$ sudo mkdir -p /opt
$ sudo cp faceformlicserver-1.2.10.tar.xz /opt
$ cd /opt
$ sudo tar xJf faceformlicserver-1.2.10.tar.xz
$ sudo ln -s faceformlicserver-1.2.10 faceformlicserver
$
$ # Add group and user for server.
$ sudo groupadd -r faceformlicserver
$ sudo useradd -r -g faceformlicserver -s /sbin/nologin -c "Faceform License Server" faceformlicserver
$
$ # Copy configuration files.
$ sudo mkdir -p /etc/opt/faceformlicserver/licenses
$ sudo cp faceformlicserver/etc/faceformlicserver.ini.sample /etc/opt/faceformlicserver/faceformlicserver.ini
$ sudo cp faceformlicserver/etc/faceformlicserver.service /etc/systemd/system
$
$ # Install and activate systemd service files.
$ sudo systemctl enable faceformlicserver.service
$ sudo systemctl start faceformlicserver.service

Your firewall configuration may block arbitrary incoming connections. In that case please repeat last steps from RPM installation section.

Check Installation

To check status whether the server is running one can use standard systemd command:

$ sudo systemctl status faceformlicserver.service

It will show the status of the server with some of the most recent messages:

● faceformlicserver.service - Faceform license server
   Loaded: loaded (/usr/lib/systemd/system/faceformlicserver.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2021-04-05 04:12:48 EDT; 12s ago
 Main PID: 1485 (faceformlicserver)
   CGroup: /system.slice/faceformlicserver.service
           └─1485 /opt/faceformlicserver/bin/faceformlicserver

Apr 05 04:12:48 centos7raw systemd[1]: Started Faceform license server.
Apr 05 04:12:48 centos7raw systemd[1]: Starting Faceform license server...
Apr 05 04:12:48 centos7raw faceformlicserver[1485]: Using configuration from /etc/opt/faceformlicserver/faceformlicserver.ini
Apr 05 04:12:48 centos7raw faceformlicserver[1485]: License directory load OK, licenses: 0 (0 valid), total seats...lid)
Apr 05 04:12:48 centos7raw faceformlicserver[1485]: Listening on "0.0.0.0:7307"
Hint: Some lines were ellipsized, use -l to show in full.