Source:RPM Repository

From SEPsesam

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Draft.png WORK IN PROGRESS
This article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.


Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo. For previous documentation version(s), check Documentation archive.


Overview

As of SEP sesam Beefalo, SEP sesam provides signed RPM repositories for installation on SLES and Red Hat. Distributions package manager (zypper, yum) can be used to ease installation and validation of the packages.

Supported Systems

The following RPM-based distributions are supported:

  • SLES (12, 15)
  • CentOS (7)
  • Red Hat (RHEL7, RHEL8)

For details on supported systems, check SEP sesam OS and Database Support Matrix.

Configuring RPM-based repositories

SUSE-based distributions

SUSE Linux Enterprise Server (SLES) includes the standard tool zypper which is common for package management.

Steps

  1. Add the RPM repository by using a zypper command for the relevant version (SLES12 or SLES15). Replace the <ARCHITECTURE> and <VERSION> with the appropriate values. In our example, the repository for SLES12 on x86_64 will be added.
  2. For SLES12 use: zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES12/ For SLES15 use: zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES15/
  3. Refresh the repository cache and accept the displayed signature details.
  4. zypper refresh Retrieving repository 'SESAM' metadata ----------------------------------------------------------------------------- [\] New repository or package signing key received: Repository: SESAM Key Name: SEP AG (SEP Sesam Repository key) <support@sep.de> Key Fingerprint: 3C686930 80A255BB C9D41B40 68111EBB D273917B Key Created: Tue 24 Nov 2018 04:33:32 PM CET Key Expires: (does not expire) Subkey: 8F6D1096F55D8127 2018-11-24 [does not expire] Rpm Name: gpg-pubkey-d273917b-5654834c
  5. Install SEP sesam Server or SEP sesam Client.
  6. For SEP sesam Server use: # zypper install sesam_srv For SEP sesam Client use: # zypper install sesam_cli For details, see SEP sesam Quick Install Guide.

Red Hat-based distributions

RHEL-based distributions include the standard tool yum which is common for package management. Linux stores information about each repository in a separate file in the /etc/yum.repos.d directory.

Steps

  1. Create a configuration file in the /etc/yum.repos.d/sesam.repo as shown below and replace the <VERSION> and <ARCHITECTURE> with the appropriate values.
  2. [SEPSesam] name=SEP Sesam baseurl=http://download.sep.de/linux/RedHat/x86_64/RHEL7/ enabled=1 gpgkey=http://download.sep.de/linux/RedHat/x86_64/RHEL7/repodata/repomd.xml.key
  3. Refresh your yum repository:
  4. # yum updateinfo
  5. Install any of the SEP sesam components (SEP sesam Server, Client or GUI) by using the following command:
  6. # yum install <component> For example, to install SEP sesam Client: # yum install sesam_cli For details, see SEP sesam Quick Install Guide.

Verifying Package Signatures

Verify GPG signature via Package manager

Both zypper and yum will check the repositories and rpm packages signatures during installation, no further steps have to be taken.

Verify GPG signature via RPM

In case no package manager is used, the RPM packages can also be verified by using RPM only. For this case, download the GPG public key:

# curl http://beta.sep.de/linux/SuSE/x86_64/SLES12/repodata/repomd.xml.key > sep.key

Import the GPG Key into the RPM database:

# rpm --import sep.key

Download the SEP Sesam component and verify its signature:

On RedHat use:

# rpm -K <PACKAGE>-<VERSION>.rpm 
sesam_cli-4.4.3-67.rhel7.x86_64.rpm: rsa sha1 (md5) pgp md5 OK


On SuSE use:

# rpm -v --checksig <PACKAGE>-<VERSION>.rpm
sesam_cli-4.4.3-67.sles15.x86_64.rpm:
   Header V4 RSA/SHA1 Signature, key ID d273917b: OK
   [..]

See also

SEP sesam Quick Install Guide