Outils pour utilisateurs

Outils du site


tech:redhat_centos_yum_repository_depots

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:redhat_centos_yum_repository_depots [2026/05/05 12:02] Jean-Baptistetech:redhat_centos_yum_repository_depots [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Redhat Repo Old}}
 +
 +# Redhat Centos yum repository dépôts
 +
 +## Archives
 +
 +### Archives CentOS 2, 3, 4, 5, 6, 7, 8
 +
 +* http://archive.kernel.org/centos-vault/
 +* https://vault.centos.org
 +
 +Et aussi :
 +* https://yum.oracle.com/repo/OracleLinux/OL5/11/base/x86_64/index.html
 +* https://yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/index_src.html
 +* http://mirror.gov.bw/centos/5/updates/x86_64/RPMS/
 +
 +
 +#### Centos5
 +
 +`/etc/yum.repos.d/CentOS-Vault.repo`
 +~~~ini
 +[C5.11-base]
 +name=CentOS-5.11 - Base
 +#baseurl=http://vault.centos.org/5.11/os/$basearch/
 +baseurl=http://archive.kernel.org/centos-vault/5.11/os/x86_64/
 +gpgcheck=0
 +#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 +enabled=1
 +
 +[C5.11-updates]
 +name=CentOS-5.11 - Updates
 +#baseurl=http://vault.centos.org/5.11/updates/$basearch/
 +baseurl=http://archive.kernel.org/centos-vault/5.11/updates/x86_64/
 +gpgcheck=0
 +#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 +enabled=1
 +
 +[C5.11-extras]
 +name=CentOS-5.11 - Extras
 +#baseurl=http://vault.centos.org/5.11/extras/$basearch/
 +baseurl=http://archive.kernel.org/centos-vault/5.11/extras/x86_64/
 +#gpgcheck=0
 +#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 +enabled=1
 +
 +~~~
 +
 +
 +Voir les sources :
 +* https://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/ \\
 +Curieux pour SNMP la version est plus récente ici net-snmp-5.3.2.2-25.el5_11.x86_64.rpm : \\
 +https://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/x86_64/Debuginfo/
 +
 +Ici les dernières versions non officiels RedHat net-snmp-5.3.2.2-25.el5_11.x86_64.rpm :
 +* https://linuxsoft.cern.ch/cern/slc5X/x86_64/yum/updates/
 +* https://rpms.remirepo.net/rpmphp/
 +
 +
 +#### CentOS5 / Archives EPEL
 +
 +Voir :
 +* https://dl.fedoraproject.org/pub/archive/epel/5/
 +
 +Mais CentOS5 ne supporte pas TLS
 +~~~
 +# yum check-update
 +Loaded plugins: fastestmirror
 +Loading mirror speeds from cached hostfile
 +https://dl.fedoraproject.org/pub/archive/epel/5/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503: Service Unavailable
 +Trying other mirror.
 +Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
 +~~~
 +
 +
 +## Exemples de fichier repo
 +
 +
 +`/etc/yum.repos.d/CentOS-Base.repo`
 +~~~ini
 +# 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.  You should use this for CentOS updates
 +# 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.
 +#
 +#
 +
 +[base]
 +name=CentOS-7 - Base
 +#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=$infra
 +baseurl=http://mirror.centos.org/centos/7/os/x86_64/
 +gpgcheck=0
 +enabled=1
 +
 +#released updates
 +[updates]
 +name=CentOS-7 - Updates
 +#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=$infra
 +baseurl=http://mirror.centos.org/centos/7/updates/x86_64/
 +gpgcheck=0
 +#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
 +enabled=1
 +
 +#additional packages that may be useful
 +[extras]
 +name=CentOS-7 - Extras
 +#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=$infra
 +baseurl=http://mirror.centos.org/centos/7/extras/x86_64/
 +gpgcheck=0
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
 +enabled=1
 +
 +#additional packages that extend functionality of existing packages
 +[centosplus]
 +name=CentOS-7 - Plus
 +#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=centosplus&infra=$infra
 +baseurl=http://mirror.centos.org/centos/7/centosplus/x86_64/
 +gpgcheck=0
 +enabled=0
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
 +~~~
 +
 +
 +`/etc/yum.repos.d/cdrom.repo`
 +~~~ini
 +[cdrom1]
 +name=DVD for Red Hat Enterprise Linux 7.2 Server
 +enabled=1
 +# mediaid=1446216863.790260
 +# metadata_expire=-1
 +gpgcheck=1
 +cost=500
 +baseurl=file:///mnt/cdrom
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
 +
 +[cdrom-ha]
 +name=DVD for Red Hat Enterprise Linux 7.2 Server - HA
 +enabled=1
 +# mediaid=1446216863.790260
 +# metadata_expire=-1
 +gpgcheck=1
 +cost=500
 +baseurl=file:///mnt/cdrom/addons/HighAvailability/
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
 +~~~
 +
 +`/etc/yum.repos.d/epel.repo`
 +~~~ini
 +[epel]
 +name=Extra Packages for Enterprise Linux 7 - $basearch
 +baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
 +#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
 +failovermethod=priority
 +enabled=1
 +gpgcheck=0
 +#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki