Primary endpoint
Use https://mirror.kargadan.ir/repository/centos-group/ as the canonical baseurl in your client configuration.
dnf/yum mirror for CentOS Stream and the Vault for retired releases.
Use https://mirror.kargadan.ir/repository/centos-group/ as the canonical baseurl in your client configuration.
Primary archive plus 3 companion archives (security · updates · backports — listed below).
Public read access over HTTPS. Plain HTTP is available for legacy clients that cannot validate the certificate.
Drop one of the URLs below into your client configuration. HTTPS is the right choice in almost every case.
This distribution requires more than one archive — list each one below in your client configuration.
| Name | URL |
|---|---|
centos-stream-proxy | https://mirror.kargadan.ir/repository/centos-stream-proxy/ |
centos-vault-proxy | https://mirror.kargadan.ir/repository/centos-vault-proxy/ |
epel-proxy | https://mirror.kargadan.ir/repository/epel-proxy/ |
centos-group merges Stream + Vault + EPEL. Use Vault for legacy CentOS 7 (post EOL) and Stream for current releases.
Run this from any machine that can reach the mirror. It should complete in under a second once metadata is cached.
# Quick smoke test (CentOS Stream)
curl -fsSL https://mirror.kargadan.ir/repository/centos-group/9-stream/BaseOS/x86_64/os/repodata/repomd.xml | head
Drop this file at /etc/yum.repos.d/centos.repo on the target host for the recommended default release (9-stream). See configuration by release for every supported suite.
; /etc/yum.repos.d/centos.repo (CentOS Stream + Vault for legacy)
[baseos]
name=CentOS Stream 9 - BaseOS
baseurl=https://mirror.kargadan.ir/repository/centos-group/9-stream/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[appstream]
name=CentOS Stream 9 - AppStream
baseurl=https://mirror.kargadan.ir/repository/centos-group/9-stream/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[crb]
name=CentOS Stream 9 - CRB
baseurl=https://mirror.kargadan.ir/repository/centos-group/9-stream/CRB/$basearch/os/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[centos7-vault]
; Legacy CentOS 7 from vault.centos.org (post-EOL).
name=CentOS 7 (Vault)
baseurl=https://mirror.kargadan.ir/repository/centos-group/7.9.2009/os/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[epel]
name=EPEL 9
baseurl=https://mirror.kargadan.ir/repository/centos-group/9/Everything/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
Each block below is a complete, copy-ready configuration for one suite or release. Install path: /etc/yum.repos.d/centos.repo. The same patterns are committed under /opt/client-configs/centos/centos.repo on the mirror host (default release only).
curl -fsSL https://mirror.kargadan.ir/repository/centos-group/10-stream/BaseOS/x86_64/os/repodata/repomd.xml | head; /etc/yum.repos.d/centos.repo (CentOS Stream 10)
[baseos]
name=CentOS Stream 10 - BaseOS
baseurl=https://mirror.kargadan.ir/repository/centos-group/10-stream/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[appstream]
name=CentOS Stream 10 - AppStream
baseurl=https://mirror.kargadan.ir/repository/centos-group/10-stream/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficialcurl -fsSL https://mirror.kargadan.ir/repository/centos-group/9-stream/BaseOS/x86_64/os/repodata/repomd.xml | head; /etc/yum.repos.d/centos.repo (CentOS Stream 9)
[baseos]
name=CentOS Stream 9 - BaseOS
baseurl=https://mirror.kargadan.ir/repository/centos-group/9-stream/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[appstream]
name=CentOS Stream 9 - AppStream
baseurl=https://mirror.kargadan.ir/repository/centos-group/9-stream/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficialcurl -fsSL https://mirror.kargadan.ir/repository/centos-group/7.9.2009/os/x86_64/repodata/repomd.xml | head; /etc/yum.repos.d/centos.repo (CentOS 7.9 (Vault) — enable [centos7-vault] only)
[centos7-vault]
name=CentOS 7 (Vault)
baseurl=https://mirror.kargadan.ir/repository/centos-group/7.9.2009/os/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7A minimal snippet you can paste into a Dockerfile or pipeline step.
# Dockerfile snippet
FROM centos:9-stream
COPY centos.repo /etc/yum.repos.d/centos.repo
RUN dnf clean all && dnf -y makecache
| Distribution | CentOS |
| Package manager | dnf |
| Mirror format (Nexus) | yum |
| Default suite / branch | 9-stream |
| Authentication | Not required (anonymous read) |
| Protocols | HTTPS · HTTP |
centos-group merges Stream + Vault + EPEL. Use Vault for legacy CentOS 7 (post EOL) and Stream for current releases.