OpenLM Server Installation on Linux Using RPM, DEB, and TAR
Israel +972 4 6308447      USA +1 619 831 0029         UK +44 203 807 9405         JAPAN +81 505 893 6263 担当:萩原

OpenLM Server v21 and higher and Identity Service Installation on Linux using RPM, DEB, and TAR Packages – KB876

You are here:
< All Topics

This document describes the steps required to install the OpenLM Server v21 and higher and Identity Service in a Linux machine using RPM, DEB, and TAR packages

1. Requirements

 

Linux Package Dependencies:

Server: systemd, redhat-lsb, libgdiplus, dotnet core, powershell core

Identity Service: systemd, dotnet core, powershell core

Software as Putty and WinSCP software are the prerequisites for the OpenLM Server installation. These are Windows-only tools and are needed to interact with the Linux machine from the Windows machine. You can use any tool apart from Putty / WinSCP that can open a console and copy a file to a Linux machine. Protocols: Putty (SSH protocol), WinSCP (SCP protocol).

 

2. Connect to Linux Machine using Putty

 

To connect to a Linux machine using Putty, add the Linux machine address in the Putty session window. Enter the hostname and IP address of the Linux machine to connect to. Click the Open button after entering the required details.

Connect to the Linux machine using your login credentials, enter your system password:

For RPM: Type the below-mentioned command to check if you have any OpenLM applications installed:

sudo rpm -qa | grep openlm

In case no information is returned that means no OpenLM applications are installed.

For DEB: Type the below-mentioned command to check if you have any OpenLM applications installed:

sudo apt list –installed | grep openlm

For Tar.Gz: Type the below-mentioned command to check if you have any OpenLM applications installed:

sudo ps -aux | grep openlm

OR

ls /etc/systemd/system

OR

ls /opt

In case no relevant information is returned that means no OpenLM applications are installed.

Note: In case you encounter a display glitch with the putty console, open the CMD windows and use the below command:

ssh [user]@[IP|Hostname]

 

3. Installing the OpenLM Server Using RPM

 

To install the OpenLM Server:

1. Download the RPM installation file on your machine (for example, in the Downloads folder).

2. Open WinSCP and connect it to the Linux machine.

3. Login using your login credentials, and drag and drop the downloaded RPM file from your machine to the Linux machine.

Note: There are some dependencies included in the RPM package. To install all these dependencies automatically, use the below-mentioned command if your distribution include yum:

sudo yum install [RPMFILE]

Otherwise, after the copying process is complete, return to Putty and run the below-mentioned command:

sudo rpm -i [RPMFILE]
(for example, sudo rpm -i openlm_server-21.6.9-937.x86_64.rpm)

Note: To check the dependencies with RPM, use the commands:

rpm -qp [RPMFILE] –provides

rpm -qp [RPMFILE] –requires

4. When the window with database configuration opens, create a new empty database in your preferred database provider.

Note: The following databases are compatible: MS SQL Server, MySQL, MariaDB.

Provide the server name, database name and user credentials (User ID and Password), click Test Connection and Approve button.

This message confirms that the installation process is done.

5. Add the license to your OpenLM Server.

Direct cp command into /opt/openlm/license folder.

OR

In Putty, go to the OpenLM folder using this command: cd /opt/openlm

Go to WinSCP, and drag and drop the license file from your machine to the Linux machine to the /opt/openlm/license folder.

Restart the OpenLM service to apply the license. Run the below-mentioned command to restart the OpenLM service:

sudo service openlm restart

OR

sudo systemctl restart openlm

The OpenLM installation is now completed. The OpenLM Server on the Linux Machine is available via the link: http://[IP|Hostname]:5015 in the browser.

 

4. Installing the Identity Service using RPM

 

To install the Identity Service:

1. Copy Identity Service RPM file. Move it to the Linux machine via WinSCP and install it.


2. Create a new database and indicate this database during the Identity Service installation.

3. Choose the identity server port (default 5000, press enter).

4. Open Identity Service via the link: http://[FQDN]:5000. Here, FQDN means Fully Qualified Domain Name.

Connect it to the OpenLM Server.

Run the below-mentioned command to restart the OpenLM service (the account should exist in the OpenLM Server):

sudo service openlm restart

OR

sudo systemctl restart openlm

OpenLM Server appsettings.json: To check that the configuration is fine, use the command:

cat /opt/openlm/bin/appsettings.json


The Client Secret and Authority field should be filled with the EnableSecurity field as True.

 

5. Useful RPM Specific Linux Sudo Commands

 

To Install the RPM:

sudo rpm -i [RPMFILE]

OR

sudo yum install [RPMFILE]

To Upgrade the RPM:

sudo rpm -U [RPMFILE]

OR

sudo yum update [RPMFILE]

To Uninstall:

To check installed OpenLM items: sudo rpm -qa | grep openlm

To uninstall one of the installed items: sudo rpm -e [name]

To Repair:

sudo rpm -i –replacepkgs [PackageNAme]

OpenLM Server:

sudo cp [YourLicenseFile] /opt/openlm/license/

Restart Service

sudo service openlm restart

Optional Tool Server:

DB Configuration:

sudo pwsh /opt/openlm/tools/postinstall/start-serverdbconfiguration.ps1

All DB Upgrade:

sudo pwsh /opt/openlm/tools/postinstall/start-alldbupgradeapi.ps1

Optional Tool Identity Service:

DB Configuration:

sudo /opt/securityservice/tools/postinstall/start-identitydbconfiguration.ps1

 

6. Installing the OpenLM Server Using DEB

 

1. Copy the Debian Package to your server.

2. Use apt binaries to install it. Run the below-mentioned command:

– sudo apt install ./[DebName]


3. Configure the database access.

The following lines files will appear:

4. Check that the OpenLM service is running. Command mentioned below:

-sudo service openlm status

5. Copy the license file to /opt/openlm/license. Command mentioned below:

–  sudo cp [LicenseFileName] /opt/openlm/license/[LicenseFileName]

6. Connect to OpenLM Server Interface:

Link: http://[hostname]:5015 in a web browser. Here, hostname is the hostname of the server where the OpenLM Server is installed.

 

7. Installing the Identity Service Using DEB

 

1. Copy the Debian (DEB) package to your server.

2. Use apt binaries to install it. Run the below-mentioned command.

– sudo apt install ./[DebName]


3. Configure the database access.

4. Choose the Identity server port (5000 by default, press enter).

Database created:

5. Connect to the Identity Web Browser with: http://[FQDN]:[Port]. Here, FQDN means Fully Qualified Domain Name.

Note: In case a blank page appears, it means the correct FQDN is not used.

 

8. Useful DEB Specific Linux Commands

 

To install and upgrade the Debian package and its configuration files from your system, run the command: sudo apt install ./[DEBNAME] (same command line to be used for upgrade).

To remove the Debian package and its configuration files from your system, run the command: Sudo apt purge [DEBNAME]

 

9. Installing the OpenLM Server Using TAR

 

To install the OpenLM Server:

1. Download the TAR installation file on your machine (for example, in the Downloads folder).

2. Open WinSCP and connect it to the Linux machine.

3. Login using your login credentials, and drag and drop the downloaded TAR file from your machine to the Linux machine.

4. After the copying process is complete, return to Putty and run the below-mentioned commands:

sudo tar -xvf [TARname]

OR

sudo tar -xvf [TARname] -C [destination]

cd [destination]

sudo /bin/bash ./installer.sh

5. When the window with database configuration opens, create a new empty database in your preferred database provider.

Indicate the created database in Putty, click Test Connection and Approve button.

The following lines file will appear:

6. Add the license to your OpenLM Server.

OR

In Putty, go to OpenLM folder using this command: cd /opt/openlm

Go to WinSCP, and drag and drop the license file from your machine to the Linux machine to the /opt/openlm/license folder.

Restart the OpenLM service to apply the license. Run the below-mentioned command to restart the OpenLM service:

sudo service openlm restart

OR

sudo systemctl restart openlm

The OpenLM installation is now completed. The OpenLM Server on the Linux Machine is available via the link: http://[IP|Hostname]:5015 in the browser.

 

10. Installing the Identity Service Using TAR

 

To install the Identity Service:

1. Copy Identity Service TAR file. Move it to the Linux machine via WinSCP and install it.

Run the below-mentioned commands:

sudo tar -xvf [TARname]

OR

sudo tar -xvf [TARname] -C [destination]

cd [destination]

sudo /bin/bash ./installer.sh

2. Create a new database and indicate this database during the Identity Service installation.

3. Choose the identity server port (default 5000, press enter).

4. Open Identity Service via the link: http://[FQDN]:5000. Here, FQDN means Fully Qualified Domain Name.

Connect it to the OpenLM Server. Run the below-mentioned command to restart the OpenLM service (the account should exist in OpenLM Server):

sudo service openlm restart

OR

sudo systemctl restart openlm

Use the following command as shown in the screen below to check that the “Auth” section is filled by the connection process above in the OpenLM config file.

 

11. Useful TAR Specific Linux Commands

 

tar -xvf [Tarfile] -C [DestinationFolder]: In this command, -xvf means extraction with force overwrite and verbose mode. -C defines a custom extraction path.

sudo /bin/bash ./install.sh: This command opens a bash process running the installer.sh script.

sudo ps -aux | grep openlm: To list the processes that are currently opened and filter the one containing the OpenLM pattern.

 

12. Acronyms

 

FQDN – Fully Qualified Domain Name

Previous OpenLM Server Installation Guide (v21 and above) – KB4414
Next OpenLM System Structure Overview – KB4400
Table of Contents