tachtler:epel_centos_7
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:epel_centos_7 [2013/03/08 14:12] – Externe Bearbeitung 127.0.0.1 | tachtler:epel_centos_7 [2017/09/09 07:33] (aktuell) – klaus | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== EPEL-Repository einbinden | + | ====== EPEL CentOS 7 ====== |
- | [[http:// | + | [[http:// |
- | Bevor externe | + | Bevor externe |
Dies kann durch die Installation des sogenannten | Dies kann durch die Installation des sogenannten | ||
Zeile 12: | Zeile 12: | ||
< | < | ||
# yum install yum-plugin-priorities | # yum install yum-plugin-priorities | ||
- | Loaded plugins: fastestmirror | ||
- | Loading mirror speeds from cached hostfile | ||
- | Setting up Install Process | ||
- | Resolving Dependencies | ||
- | --> Running transaction check | ||
- | ---> Package yum-plugin-priorities.noarch 0: | ||
- | --> Finished Dependency Resolution | ||
- | |||
- | Dependencies Resolved | ||
- | |||
- | ================================================================================ | ||
- | | ||
- | ================================================================================ | ||
- | Installing: | ||
- | | ||
- | |||
- | Transaction Summary | ||
- | ================================================================================ | ||
- | Install | ||
- | |||
- | Total download size: 22 k | ||
- | Installed size: 28 k | ||
- | Is this ok [y/N]: y | ||
- | Downloading Packages: | ||
- | yum-plugin-priorities-1.1.30-14.el6.noarch.rpm | ||
- | Running rpm_check_debug | ||
- | Running Transaction Test | ||
- | Transaction Test Succeeded | ||
- | Running Transaction | ||
- | Installing : yum-plugin-priorities-1.1.30-14.el6.noarch | ||
- | Verifying | ||
- | |||
- | Installed: | ||
- | yum-plugin-priorities.noarch 0: | ||
- | |||
- | Complete! | ||
</ | </ | ||
Zeile 53: | Zeile 17: | ||
< | < | ||
# rpm -qil yum-plugin-priorities | # rpm -qil yum-plugin-priorities | ||
- | Name : yum-plugin-priorities | + | Name : yum-plugin-priorities |
- | Version | + | Version |
- | Release | + | Release |
- | Install Date: Fri 07 Sep 2012 11:28:52 AM CEST Build Host: c6b8.bsys.dev.centos.org | + | Architecture: noarch |
- | Group : System Environment/ | + | Install Date: Fri 21 Nov 2014 07:14:20 AM CET |
- | Size | + | Group : System Environment/ |
- | Signature | + | Size : 29127 |
+ | License | ||
+ | Signature | ||
+ | Source RPM : yum-utils-1.1.31-25.el7_0.src.rpm | ||
+ | Build Date | ||
+ | Build Host : worker1.bsys.centos.org | ||
+ | Relocations : (not relocatable) | ||
Packager | Packager | ||
+ | Vendor | ||
URL : http:// | URL : http:// | ||
Summary | Summary | ||
Zeile 71: | Zeile 42: | ||
/ | / | ||
/ | / | ||
- | / | + | / |
- | / | + | / |
</ | </ | ||
Entscheidend ist nun, im Verzeichnis | Entscheidend ist nun, im Verzeichnis | ||
* **''/ | * **''/ | ||
- | den dort enthaltenen Repository-Konfigurationsdateien, | + | den dort enthaltenen Repository Konfigurationsdateien, |
+ | |||
+ | (**nur relevanter Ausschnitt**): | ||
< | < | ||
... | ... | ||
Zeile 86: | Zeile 59: | ||
Was im Beispiel der Konfigurationsdatei | Was im Beispiel der Konfigurationsdatei | ||
* **''/ | * **''/ | ||
- | dann wie folgt aussehen könnte | + | dann wie folgt aussehen könnte: |
< | < | ||
# CentOS-Base.repo | # CentOS-Base.repo | ||
Zeile 95: | Zeile 68: | ||
# unless you are manually picking other mirrors. | # unless you are manually picking other mirrors. | ||
# | # | ||
- | # If the mirrorlist= does not work for you, as a fall back you can try the | + | # If the mirrorlist= does not work for you, as a fall back you can try the |
# remarked out baseurl= line instead. | # remarked out baseurl= line instead. | ||
# | # | ||
Zeile 102: | Zeile 75: | ||
[base] | [base] | ||
name=CentOS-$releasever - Base | name=CentOS-$releasever - Base | ||
- | mirrorlist=http:// | + | mirrorlist=http:// |
# | # | ||
gpgcheck=1 | gpgcheck=1 | ||
- | gpgkey=file:/// | + | gpgkey=file:/// |
priority=1 | priority=1 | ||
- | ... | + | |
+ | #released updates | ||
+ | [updates] | ||
+ | name=CentOS-$releasever - Updates | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
+ | |||
+ | #additional packages that may be useful | ||
+ | [extras] | ||
+ | name=CentOS-$releasever - Extras | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
+ | |||
+ | #additional packages that extend functionality of existing packages | ||
+ | [centosplus] | ||
+ | name=CentOS-$releasever - Plus | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
</ | </ | ||
- | :!: **HINWEIS** - Den eigenen | + | :!: **HINWEIS** - Den eigenen |
Um [[http:// | Um [[http:// | ||
< | < | ||
- | # wget http:// | + | # wget http:// |
- | --2012-09-07 13:06:13-- http:// | + | --2014-11-30 08:15:59-- http:// |
- | Resolving dl.fedoraproject.org... 209.132.181.23, 209.132.181.24, 209.132.181.25, ... | + | Resolving dl.fedoraproject.org... 209.132.181.24, 209.132.181.25, 209.132.181.26, ... |
- | Connecting to dl.fedoraproject.org|209.132.181.23|:80... connected. | + | Connecting to dl.fedoraproject.org|209.132.181.24|:80... connected. |
HTTP request sent, awaiting response... 200 OK | HTTP request sent, awaiting response... 200 OK | ||
- | Length: | + | Length: |
- | Saving to: “epel-release-6-7.noarch.rpm” | + | Saving to: 'epel-release-7-10.noarch.rpm' |
- | + | ||
- | 100%[======================================> | + | |
- | 2012-09-07 | + | 100%[======================================> |
+ | 2014-11-30 08:16:00 (64.1 KB/s) - ' | ||
</ | </ | ||
Anschließend sollte zur **Prüfung der Echtheit** des soeben heruntergeladenen **'' | Anschließend sollte zur **Prüfung der Echtheit** des soeben heruntergeladenen **'' | ||
- | * **'' | + | * **'' |
dessen Schlüssel, mit dem das Paket signiert wurde, in die RPM-Paket-Verwaltung importiert werden: | dessen Schlüssel, mit dem das Paket signiert wurde, in die RPM-Paket-Verwaltung importiert werden: | ||
< | < | ||
- | # rpm --import https:// | + | # rpm --import https:// |
</ | </ | ||
Danach kann das so heruntergeladene Paket, mit nachfolgendem Befehl auf dessen **Echtheit**, | Danach kann das so heruntergeladene Paket, mit nachfolgendem Befehl auf dessen **Echtheit**, | ||
< | < | ||
- | # rpm -K epel-release-6-7.noarch.rpm | + | # rpm -K epel-release-7-10.noarch.rpm |
- | epel-release-6-7.noarch.rpm: | + | epel-release-7-10.noarch.rpm: |
</ | </ | ||
Abschließend kann dann, mit nachfolgendem Befehl, das Paket installiert werden: | Abschließend kann dann, mit nachfolgendem Befehl, das Paket installiert werden: | ||
< | < | ||
- | # yum localinstall epel-release-6-7.noarch.rpm | + | # yum localinstall epel-release-7-10.noarch.rpm |
- | Loaded plugins: fastestmirror, | + | |
- | Setting up Local Package Process | + | |
- | Examining epel-release-6-7.noarch.rpm: epel-release-6-7.noarch | + | |
- | Marking epel-release-6-7.noarch.rpm to be installed | + | |
- | Loading mirror speeds from cached hostfile | + | |
- | base | 3.7 kB | + | |
- | extras | + | |
- | updates | + | |
- | Resolving Dependencies | + | |
- | --> Running transaction check | + | |
- | ---> Package epel-release.noarch 0:6-7 will be installed | + | |
- | --> Finished Dependency Resolution | + | |
- | + | ||
- | Dependencies Resolved | + | |
- | + | ||
- | ================================================================================ | + | |
- | | + | |
- | ================================================================================ | + | |
- | Installing: | + | |
- | | + | |
- | + | ||
- | Transaction Summary | + | |
- | ================================================================================ | + | |
- | Install | + | |
- | + | ||
- | Total size: 22 k | + | |
- | Installed size: 22 k | + | |
- | Is this ok [y/N]: y | + | |
- | Downloading Packages: | + | |
- | Running rpm_check_debug | + | |
- | Running Transaction Test | + | |
- | Transaction Test Succeeded | + | |
- | Running Transaction | + | |
- | Installing : epel-release-6-7.noarch | + | |
- | Verifying | + | |
- | + | ||
- | Installed: | + | |
- | epel-release.noarch 0:6-7 | + | |
- | + | ||
- | Complete! | + | |
</ | </ | ||
- | Der Inhalt des Pakets **'' | + | Der Inhalt des Pakets **'' |
< | < | ||
# rpm -qil epel-release | # rpm -qil epel-release | ||
- | Name : epel-release | + | Name : epel-release |
- | Version | + | Version |
- | Release | + | Release |
- | Install Date: Fri 07 Sep 2012 11:41:46 AM CEST Build Host: x86-03.phx2.fedoraproject.org | + | Architecture: noarch |
- | Group : System Environment/ | + | Install Date: Fri 21 Nov 2014 07:15:23 AM CET |
- | Size : 22169 | + | Group : System Environment/ |
- | Signature | + | Size : 22060 |
+ | License | ||
+ | Signature | ||
+ | Source RPM : epel-release-7-10.src.rpm | ||
+ | Build Date : Tue 02 Sep 2014 06:16:28 PM CEST | ||
+ | Build Host : buildhw-04.phx2.fedoraproject.org | ||
+ | Relocations : (not relocatable) | ||
Packager | Packager | ||
- | URL : http:// | + | Vendor |
+ | URL : http:// | ||
Summary | Summary | ||
Description : | Description : | ||
This package contains the Extra Packages for Enterprise Linux (EPEL) repository | This package contains the Extra Packages for Enterprise Linux (EPEL) repository | ||
- | GPG key as well as configuration for yum and up2date. | + | GPG key as well as configuration for yum. |
- | / | + | / |
- | / | + | |
/ | / | ||
/ | / | ||
- | / | + | / |
- | / | + | / |
</ | </ | ||
- | :!: **HINWEIS** - Abschließend sollte hier die **Priorität** des [[http:// | + | :!: **HINWEIS** - Abschließend sollte hier die **Priorität** des [[http:// |
Was im Beispiel der Konfigurationsdatei | Was im Beispiel der Konfigurationsdatei | ||
Zeile 217: | Zeile 183: | ||
< | < | ||
[epel] | [epel] | ||
- | name=Extra Packages for Enterprise Linux 6 - $basearch | + | name=Extra Packages for Enterprise Linux 7 - $basearch |
- | # | + | # |
- | mirrorlist=https:// | + | mirrorlist=https:// |
failovermethod=priority | failovermethod=priority | ||
enabled=1 | enabled=1 | ||
gpgcheck=1 | gpgcheck=1 | ||
- | gpgkey=file:/// | + | gpgkey=file:/// |
+ | priority=10 | ||
+ | |||
+ | [epel-debuginfo] | ||
+ | name=Extra Packages for Enterprise Linux 7 - $basearch - Debug | ||
+ | # | ||
+ | mirrorlist=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | gpgcheck=1 | ||
+ | priority=10 | ||
+ | |||
+ | [epel-source] | ||
+ | name=Extra Packages for Enterprise Linux 7 - $basearch - Source | ||
+ | # | ||
+ | mirrorlist=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | gpgcheck=1 | ||
priority=10 | priority=10 | ||
- | ... | ||
</ | </ | ||
+ | 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_7.1362748340.txt.gz · Zuletzt geändert: 2014/11/30 08:11 (Externe Bearbeitung)