tachtler:epel_centos_8
no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | tachtler:epel_centos_8 [2019/12/21 07:47] (aktuell) – angelegt klaus | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== EPEL CentOS 8 ====== | ||
+ | [[http:// | ||
+ | |||
+ | Bevor externe Repositories auf den Servern/ | ||
+ | |||
+ | Dies kann durch die Verwendung des sogenannten | ||
+ | * **Priorities-Plugin** für den Paket-Manager **'' | ||
+ | erfolgen. | ||
+ | |||
+ | Entscheidend ist nun, im Verzeichnis | ||
+ | * **''/ | ||
+ | den dort enthaltenen Repository Konfigurationsdateien, | ||
+ | |||
+ | (**nur relevanter Ausschnitt**): | ||
+ | < | ||
+ | ... | ||
+ | priority=1 | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Was im Beispiel der Konfigurationsdatei | ||
+ | * **''/ | ||
+ | dann wie folgt aussehen könnte: | ||
+ | < | ||
+ | # CentOS-Base.repo | ||
+ | # | ||
+ | # The mirror system uses the connecting IP address of the client and the | ||
+ | # update status of each mirror to pick mirrors that are updated to and | ||
+ | # geographically close to the client. | ||
+ | # unless you are manually picking other mirrors. | ||
+ | # | ||
+ | # If the mirrorlist= does not work for you, as a fall back you can try the | ||
+ | # remarked out baseurl= line instead. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | [BaseOS] | ||
+ | name=CentOS-$releasever - Base | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | enabled=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
+ | </ | ||
+ | |||
+ | :!: **HINWEIS** - Den eigenen Rpositories aus [[http:// | ||
+ | |||
+ | Um [[http:// | ||
+ | < | ||
+ | # dnf install epel-release | ||
+ | Last metadata expiration check: 0:01:25 ago on Sa 21 Dez 2019 07:44:03 CET. | ||
+ | Dependencies resolved. | ||
+ | ================================================================================ | ||
+ | | ||
+ | ================================================================================ | ||
+ | Installing: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================ | ||
+ | Install | ||
+ | |||
+ | Total download size: 22 k | ||
+ | Installed size: 30 k | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading Packages: | ||
+ | epel-release-8-5.el8.noarch.rpm | ||
+ | -------------------------------------------------------------------------------- | ||
+ | Total 19 kB/s | 22 kB | ||
+ | Running transaction check | ||
+ | Transaction check succeeded. | ||
+ | Running transaction test | ||
+ | Transaction test succeeded. | ||
+ | Running transaction | ||
+ | Preparing | ||
+ | Installing | ||
+ | Running scriptlet: epel-release-8-5.el8.noarch | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | epel-release-8-5.el8.noarch | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Der Inhalt des Pakets **'' | ||
+ | < | ||
+ | # rpm -qil epel-release | ||
+ | Name : epel-release | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Sa 21 Dez 2019 07:45:31 CET | ||
+ | Group : System Environment/ | ||
+ | Size : 30575 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : epel-release-8-5.el8.src.rpm | ||
+ | Build Date : Di 20 Aug 2019 22:08:24 CEST | ||
+ | Build Host : aarch64-02.mbox.centos.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | This package contains the Extra Packages for Enterprise Linux (EPEL) repository | ||
+ | GPG key as well as configuration for yum. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | :!: **HINWEIS** - Abschließend sollte hier die **Priorität** des [[http:// | ||
+ | |||
+ | Was im Beispiel der Konfigurationsdatei | ||
+ | * **''/ | ||
+ | dann wie folgt aussehen könnte (**nur beispielhafter relevanter Ausschnitt**): | ||
+ | < | ||
+ | [epel] | ||
+ | name=Extra Packages for Enterprise Linux $releasever - $basearch | ||
+ | # | ||
+ | metalink=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=10 | ||
+ | |||
+ | [epel-debuginfo] | ||
+ | name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug | ||
+ | # | ||
+ | metalink=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | gpgcheck=1 | ||
+ | |||
+ | [epel-source] | ||
+ | name=Extra Packages for Enterprise Linux $releasever - $basearch - Source | ||
+ | # | ||
+ | metalink=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | gpgcheck=1 | ||
+ | |||
+ | </ | ||
+ | |||
+ | Wichtig ist hier, im Verzeichnis | ||
+ | * **''/ | ||
+ | den dort enthaltenen Repository Konfigurationsdateien | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | durch Ergänzung nachfolgender Zeile, eine **Priorität höher als die für die Standard-Repositories** zuzuweisen | ||
+ | |||
+ | (**nur relevanter Ausschnitt**): | ||
+ | < | ||
+ | ... | ||
+ | priority=10 | ||
+ | ... | ||
+ | </ |
tachtler/epel_centos_8.txt · Zuletzt geändert: 2019/12/21 07:47 von klaus