# CentOS Mirror (yum/dnf archive) in Iran

Canonical: https://mirror.rasanegaar.com/guides/en/centos.html
Language: en

CentOS mirror and yum/dnf archive from Iran — mirror.rasanegaar.com/centos/

CentOS mirror (yum/dnf archive) — For CentOS updates in Iran, Rasanegaar Mirror keeps Vault archives and legacy repos close to your hosts.

## About

CentOS was a free RHEL rebuild for years; today most legacy fleets depend on Vault archives and frozen trees — every `yum update` or `dnf update` moves real traffic.
Installer images and repos are large; on older farms, distance to international mirrors means slow installs, occasional reachability gaps, and bandwidth cost.

## Mirror in Iran

The CentOS mirror in Iran at `mirror.rasanegaar.com/centos` serves the same archive layout so yum or dnf pulls from Rasanegaar’s software repository.
Until the tree is fully live, this page keeps the target URL and connection steps ready.

Browse URL: https://mirror.rasanegaar.com/centos/

## Configuration

1. Back up your yum/dnf .repo files.
2. In `.repo` files, comment metalink/mirrorlist and set baseurl to the Rasanegaar CentOS mirror:
   ```
   /etc/yum.repos.d/
   ```
   ```
   https://mirror.rasanegaar.com/centos/
   ```
3. Refresh package metadata:
   ```
   sudo yum makecache
   ```

## Updates

CentOS updates in Iran against the local mirror usually finish faster than Vault or official mirrors — especially across several legacy hosts at once.
After switching, keep your normal yum/dnf routine; only the package origin changed. On EOL releases, only use paths that actually exist on the local tree.

HTML version: https://mirror.rasanegaar.com/guides/en/centos.html
