Install LicenseServer (Linux)
Altova LicenseServer can be installed on Linux systems (Debian, Ubuntu, CentOS, RedHat).
System Requirements (Linux)
•Red Hat Enterprise Linux 7 or newer
•CentOS 7, CentOS Stream 8
•Debian 9 or newer
•Ubuntu 18.04, 20.04, 22.04
•AlmaLinux 9.0
•Rocky Linux 9.0
Prerequisites
•Perform installation either as root user or as a user with sudo privileges.
•The previous version of Application must be uninstalled before a new one is installed.
•The following libraries are required as a prerequisite to install and run the application. If the packages below are not already available on your Linux machine, run the command yum (or apt-get if applicable) to install them.
Required by | CentOS, RedHat | Debian | Ubuntu |
---|---|---|---|
LicenseServer | libidn or libidn2, krb5-libs | libidn2-0, libgssapi-krb5-2 | libidn2-0, libgssapi-krb5-2 |
Admin rights required for installation
In order to install LicenseServer, admin rights are required for the machine on which LicenseServer is to be installed.
Uninstalling old versions of LicenseServer
On the Linux command line interface (CLI), you can check whether LicenseServer is installed with the following command:
[Debian, Ubuntu]: dpkg --list | grep Altova
[CentOS, RedHat]: rpm -qa | grep server
If LicenseServer is not installed, go ahead with the installation as documented in the next steps. If LicenseServer is installed and you wish to install a newer version of it, uninstall the old version with the command:
[Debian, Ubuntu]: sudo dpkg --remove licenseserver
[CentOS, RedHat]: sudo rpm -e licenseserver
Installing Altova LicenseServer
On Linux systems, LicenseServer must be installed independently of other Altova server products. It is not included as part of the installation packages of Altova server products. Download Altova LicenseServer from the Altova website and copy the package to any directory on the Linux system.
Distribution | Installer extension |
Debian | .deb |
Ubuntu | .deb |
CentOS | .rpm |
RedHat | .rpm |
In a terminal window, switch to the directory where you have copied the Linux package. For example, if you copied it to a user directory called MyAltova (that is located, say, in the /home/User directory), then switch to this directory as follows:
cd /home/User/MyAltova
Install LicenseServer as a root user. If you do not wish to be logged in as root, you can use the sudo command to temporarily exercise root-user privileges. Install LicenseServer with the following command:
[Debian]: sudo dpkg --install licenseserver-3.11-debian.deb
[Ubuntu]: sudo dpkg --install licenseserver-3.11-ubuntu.deb
[CentOS]: sudo rpm -ivh licenseserver-3.11-1.x86_64.rpm
[RedHat]: sudo rpm -ivh licenseserver-3.11-1.x86_64.rpm
•The LicenseServer package will be installed in: /opt/Altova/LicenseServer/bin
•A user named altovalicenseserver will be created, which will have the necessary rights to run LicenseServer. When LicenseServer is started as a daemon (or service), it will be started automatically as this user. (You can also, of course, (i) create a new user with privileges that will enable this user to access LicenseServer, or (ii) start LicenseServer as root user (which has maximum privileges), but neither of these steps is either required or recommended, because (i) they each have their disadvantages, and (ii) the altovalicenseserver user has all the rights that are needed to run LicenseServer and is a separate and dedicated user.)
Background information about running LicenseServer as a serviceNote the following points:
•It is best to run LicenseServer as a daemon (or service). •When running LicenseServer as a daemon, it is best to manage LicenseServer via the initctl or systemctl command. Both of these commands can be run only with root-user privileges. So, if you are running as a non-root user, then use the sudo command to temporarily gain root-user privileges (sudo initctl... and sudo systemctl... ). •Once LicenseServer has been started as a daemon, it will automatically run as the altovalicenseserver user, which (i) was created by the LicenseServer installer at installation time, and (ii) has all the necessary rights for running LicenseServer. For more information, see the section about starting LicenseServer.
|
For information about how to proceed with assigning licenses, see the section How to Assign Licenses.
Version compatibility between LicenseServer and Altova products
New versions of Altova products can only be licensed with the version of LicenseServer that is the latest at the time of the Altova product's release. However, older versions of Altova products will work with newer versions of LicenseServer.
Consequently, if you are installing a new version of an Altova product and if your current LicenseServer version is not the latest, then de-install the older LicenseServer version and install the latest version from the Altova website. All registration and licensing information held in your older version of LicenseServer will be saved at the time of de-installation to a database on your machine, and will be imported automatically into the newer version of LicenseServer.
If you choose to install a newer version of LicenseServer without first de-installing your older version, then the older version will be de-installed automatically by the LicenseServer installer before the newer version is installed.
The version number of your LicenseServer is given at the bottom of all tabs of the LicenseServer configuration page.
Also see: Updating LicenseServer
Restart of server machine is not required
After LicenseServer has been installed, the machine on which it has been installed does not need to be restarted. Make sure, however, that LicenseServer has been started as a service on the server machine (see next section).