Source:RPM Repository: Difference between revisions

From SEPsesam
m (fixed the links without "Special:MyLanguage/")
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="noprint">
<translate><!--T:1-->
<div class="noprint"><languages />
{{Copyright SEP AG|en}}
{{Copyright SEP AG|en}}
{{Draft}}


{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Beefalo'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|Documentation archive]]}}</div><br />
<!--T:2-->
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Beefalo''/5.0.0 ''Jaglion'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|Documentation archive]]}}</div></translate><br />


== Overview ==  
<translate>== Overview == <!--T:3--></translate>
<div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
<div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate><!--T:4--> Additional resources</translate></b></center>


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" |[[File:SEP_next.png|45px|link=Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]]
| rowspan="2" style="padding:0px 10px 0px;" |<translate><!--T:5--> [[File:SEP_next.png|45px|link=Special:MyLanguage/SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | See also: [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]]  
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:6--> See also: [[Special:MyLanguage/SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]]</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:support-matrix.png|45px|link=Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_OS_and_Database_Support_Matrix#Linux]]
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:7--> [[File:support-matrix.png|45px|link=Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
Check supported [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_OS_and_Database_Support_Matrix#Linux|configurations and versions]].
<translate><!--T:8--> Check supported [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux|configurations and versions]].</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:9--> [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:10--> Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:11--> [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide#installation|Troubleshooting Guide]].  
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:12--> Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide#installation|Troubleshooting Guide]].</translate>
|}</div>
|}</div>
As of [[SEP_sesam_Release_Versions|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.
<translate><!--T:13-->
As of [[Special:MyLanguage/SEP_sesam_Release_Versions|SEP sesam ''Beefalo'']], SEP sesam provides signed RPM repositories for installation on SLES and Red Hat Linux. The distribution package manager (''zypper'', ''yum'') can be used to ease installation and validation of the packages.


===Supported Systems===  
===Supported Systems=== <!--T:14-->


The following RPM-based distributions are supported:
<!--T:15-->
The following RPM-based distributions are supported:</translate>
* SLES (12, 15)
* SLES (12, 15)
* CentOS (7)
* CentOS (7)
* Red Hat (RHEL7, RHEL8)
* Red Hat (RHEL7, RHEL8, RHEL9)


For details on supported systems, check [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_OS_and_Database_Support_Matrix#Linux|SEP sesam OS and Database Support Matrix]].
<translate><!--T:16-->
For details on supported systems, check [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux|SEP sesam OS and Database Support Matrix]].


== {{anchor|configuration}}Configuring RPM-based repositories ==  
== {{anchor|configuration}}Configuring RPM-based repositories == <!--T:17-->


==={{anchor|SUSE}}SUSE-based distributions===
==={{anchor|SUSE}}SUSE-based distributions=== <!--T:18-->
 
<!--T:19-->
SUSE Linux Enterprise Server (SLES) includes the standard tool ''zypper'' which is common for package management.  
SUSE Linux Enterprise Server (SLES) includes the standard tool ''zypper'' which is common for package management.  


'''Steps'''
<!--T:20-->
<ol><li>Add the RPM repository by using a ''zypper'' command for the relevant version (SLES12 or SLES15). Replace the <tt><ARCHITECTURE></tt> and <tt><VERSION></tt> with the appropriate values. In our example, the repository for SLES12 on x86_64 will be added.</li>  
'''Steps'''</translate>
''For SLES12 use'':
<ol><li><translate><!--T:21--> Add the RPM repository by using a ''zypper'' command for the relevant version (SLES12 or SLES15). Replace the <tt><ARCHITECTURE></tt> and <tt><VERSION></tt> with the appropriate values. In our example, the repository for SLES12 on x86_64 will be added.</translate></li>  
  zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES12/
''<translate><!--T:22--> For SLES12 use</translate>'':
''For SLES15 use'':
  <nowiki>zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES12/ SESAM</nowiki>
  zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES15/
''<translate><!--T:23--> For SLES15 use</translate>'':
  <nowiki>zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES15/ SESAM</nowiki>


<li>Refresh the repository cache and accept the displayed signature details.</li>
<li><translate><!--T:24--> Refresh the repository cache and accept the displayed signature details.</translate></li>
  zypper refresh
  zypper refresh
  Retrieving repository 'SESAM' metadata  
  Retrieving repository 'SESAM' metadata  
Line 58: Line 65:
  Repository:      SESAM
  Repository:      SESAM
  Key Name:        SEP AG (SEP Sesam Repository key) <support@sep.de>
  Key Name:        SEP AG (SEP Sesam Repository key) <support@sep.de>
  Key Fingerprint:  3C686930 80A255BB C9D41B40 68111EBB D273917B
  Key Fingerprint:  '''3C686930 80A255BB C9D41B40 68111EBB D273917B'''
  Key Created:      Tue 24 Nov 2018 04:33:32 PM CET
  Key Created:      Tue 24 Nov 2018 04:33:32 PM CET
  Key Expires:      (does not expire)
  Key Expires:      (does not expire)
  Subkey:          8F6D1096F55D8127 2018-11-24 [does not expire]
  Subkey:          8F6D1096F55D8127 2018-11-24 [does not expire]
  Rpm Name:        gpg-pubkey-d273917b-5654834c  
  Rpm Name:        gpg-pubkey-d273917b-5654834c  
<li>Install SEP sesam Server or SEP sesam Client.</li>
<li><translate><!--T:25--> Install SEP sesam Server or SEP sesam Client.</translate></li>
''For SEP sesam Server use'':
''<translate><!--T:26--> For SEP sesam Server use</translate>'':
  # zypper install sesam_srv
  # zypper install sesam_srv
''For SEP sesam Client use'':
''<translate><!--T:27--> For SEP sesam Client use</translate>'':
  # zypper install sesam_cli
  # zypper install sesam_cli
For details, see [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]].
<translate><!--T:28--> For details, see [[Special:MyLanguage/SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]].</translate>
</ol>  
</ol>


==={{anchor|RHEL}}Red Hat-based distributions===
<translate>==={{anchor|RHEL}}Red Hat-based distributions=== <!--T:29-->
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 {{path|/etc/yum.repos.d}} directory.


'''Steps'''
<!--T:30-->
<ol><li>Create a configuration file in the {{path|/etc/yum.repos.d/sesam.repo}} as shown below and replace the <<tt>VERSION</tt>> and <<tt>ARCHITECTURE</tt>> with the appropriate values. </li>
RHEL-based distributions include the standard tool ''yum'' which is common for package management. Red Hat Linux stores information about each repository in a separate file in the {{path|/etc/yum.repos.d}} directory.  
  [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
<!--T:31-->
  repo_gpgcheck=1
'''Steps'''</translate>
  gpgcheck=0
<ol><li><translate><!--T:32--> Create a configuration file in the {{path|/etc/yum.repos.d/sesam.repo}} as shown below and replace the <<tt>VERSION</tt>> and <<tt>ARCHITECTURE</tt>> with the appropriate values.</translate> </li>
[SEPSesam]
name=SEP Sesam
baseurl=https://download.sep.de/linux/RedHat/x86_64/RHEL7/
enabled=1
  gpgkey=https://download.sep.de/linux/RedHat/x86_64/RHEL7/repodata/repomd.xml.key
gpgcheck=1


<li>Refresh your ''yum'' repository:</li>
<li><translate><!--T:33--> Refresh your ''yum'' repository:</translate></li>
  # yum updateinfo  
  # yum updateinfo  
<li>Install any of the SEP sesam components (SEP sesam Server, Client or GUI) by using the following command:</li>
<li><translate><!--T:34--> Install any of the SEP sesam components (SEP sesam Server, Client or GUI) by using the following command:</translate></li>
  # yum install <component>
  # yum install <<translate><!--T:35--> component</translate>>
For example, to install SEP sesam Client:
<translate><!--T:36--> For example, to install SEP sesam Client:</translate>
  # yum install sesam_cli
  # yum install sesam_cli
For details, see [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]].
<translate><!--T:37--> For details, see [[Special:MyLanguage/SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]].</translate>
</ol>  
</ol>  


<div class="noprint">
 
== See also ==  
==== RHEL 9 ====
[[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]]</div>
 
Currently the Sesam repository uses GPG keys which include SHA1 signatures. RHEL9 has deprecated support for SHA1 signatures.
Before installation on RHEL9, you must enable SHA1 support by issuing the following command:
 
update-crypto-policies --set DEFAULT:SHA1
 
<translate>== Verifying package signatures == <!--T:38-->
 
<!--T:39-->
For manual verification, make sure the GPG key you have imported matches the fingerprint of the SEP archive key.
 
<!--T:40-->
The fingerprint of the SEP GPG key for signatures is:</translate>
 
'''3C686930 80A255BB C9D41B40 68111EBB D273917B'''
 
<translate>===Verify GPG signature via package manager=== <!--T:41-->
 
<!--T:42-->
Both ''zypper'' and ''yum'' will check the repositories and RPM packages signatures during installation, so no additional steps are required.
 
==={{anchor|verify}}Verify GPG signature via RPM=== <!--T:43-->
 
<!--T:44-->
In case no package manager is used, the RPM packages can also be verified by using RPM only.
 
<!--T:45-->
'''Steps'''</translate>
<ol><li><translate><!--T:46--> Download the GPG public key:</translate></li>
 
# curl https://download.sep.de/linux/SuSE/x86_64/SLES12/repodata/repomd.xml.key > sep.key
 
<li><translate><!--T:47--> Import the GPG key into the RPM database:</translate></li>
 
# rpm --import sep.key
 
<li><translate><!--T:48--> Download the SEP sesam component and verify its signature. The following examples show how to verify the signature for SEP sesam Client depending on your Linux distribution.</translate></li>
 
''<translate><!--T:49--> For Red Hat use</translate>'':
 
# rpm -K <<translate><!--T:50--> PACKAGE</translate>>-<<translate><!--T:51--> VERSION</translate>>.rpm
sesam_cli-4.4.3-67.rhel7.x86_64.rpm: rsa sha1 (md5) '''pgp md5 OK'''
 
''<translate><!--T:52--> For SUSE use</translate>'':
 
# rpm -v --checksig <<translate><!--T:53--> PACKAGE</translate>>-<<translate><!--T:54--> VERSION</translate>>.rpm
sesam_cli-4.4.3-67.sles15.x86_64.rpm:
    '''Header V4 RSA/SHA1 Signature, key ID d273917b: OK'''
    [..]
</ol>
 
<translate><div class="noprint">
== See also == <!--T:55-->
[[Special:MyLanguage/SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]]</div></translate>

Revision as of 10:23, 31 August 2022

Other languages:

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.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo/5.0.0 Jaglion. 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 Linux. The distribution 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, RHEL9)

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/ SESAM For SLES15 use: zypper ar https://download.sep.de/linux/SuSE/x86_64/SLES15/ SESAM
  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. Red Hat 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=https://download.sep.de/linux/RedHat/x86_64/RHEL7/ enabled=1 gpgkey=https://download.sep.de/linux/RedHat/x86_64/RHEL7/repodata/repomd.xml.key gpgcheck=1
  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.


RHEL 9

Currently the Sesam repository uses GPG keys which include SHA1 signatures. RHEL9 has deprecated support for SHA1 signatures. Before installation on RHEL9, you must enable SHA1 support by issuing the following command:

update-crypto-policies --set DEFAULT:SHA1

Verifying package signatures

For manual verification, make sure the GPG key you have imported matches the fingerprint of the SEP archive key.

The fingerprint of the SEP GPG key for signatures is:

3C686930 80A255BB C9D41B40 68111EBB D273917B

Verify GPG signature via package manager

Both zypper and yum will check the repositories and RPM packages signatures during installation, so no additional steps are required.

Verify GPG signature via RPM

In case no package manager is used, the RPM packages can also be verified by using RPM only.

Steps

  1. Download the GPG public key:
  2. # curl https://download.sep.de/linux/SuSE/x86_64/SLES12/repodata/repomd.xml.key > sep.key
  3. Import the GPG key into the RPM database:
  4. # rpm --import sep.key
  5. Download the SEP sesam component and verify its signature. The following examples show how to verify the signature for SEP sesam Client depending on your Linux distribution.
  6. For Red Hat use: # rpm -K <PACKAGE>-<VERSION>.rpm sesam_cli-4.4.3-67.rhel7.x86_64.rpm: rsa sha1 (md5) pgp md5 OK For 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 [..]