dnf

Primary endpoint

Use https://mirror.kargadan.ir/repository/centos-group/ as the canonical baseurl in your client configuration.

4 archives

Companion archives included

Primary archive plus 3 companion archives (security · updates · backports — listed below).

Anonymous

No sign-in required

Public read access over HTTPS. Plain HTTP is available for legacy clients that cannot validate the certificate.

Repository URL

Drop one of the URLs below into your client configuration. HTTPS is the right choice in almost every case.

HTTPS · recommended
https://mirror.kargadan.ir/repository/centos-group/
HTTP · legacy clients only
http://mirror.kargadan.ir/repository/centos-group/

Companion repositories

This distribution requires more than one archive — list each one below in your client configuration.

NameURL
centos-stream-proxyhttps://mirror.kargadan.ir/repository/centos-stream-proxy/
centos-vault-proxyhttps://mirror.kargadan.ir/repository/centos-vault-proxy/
epel-proxyhttps://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.

Quick verification

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

Default client configuration

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

Configuration by release

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).

CentOS Stream 10

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/centos-group/10-stream/BaseOS/x86_64/os/repodata/repomd.xml | head

Client configuration

; /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-centosofficial

CentOS Stream 9 default

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/centos-group/9-stream/BaseOS/x86_64/os/repodata/repomd.xml | head

Client configuration

; /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-centosofficial

CentOS 7.9 (Vault) legacy

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/centos-group/7.9.2009/os/x86_64/repodata/repomd.xml | head

Client configuration

; /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-7

CI / container example

A 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

Mirror information

DistributionCentOS
Package managerdnf
Mirror format (Nexus)yum
Default suite / branch9-stream
AuthenticationNot required (anonymous read)
ProtocolsHTTPS · HTTP
Notes & limitations

centos-group merges Stream + Vault + EPEL. Use Vault for legacy CentOS 7 (post EOL) and Stream for current releases.