Product SiteDocumentation Site

4.3.2. Using a Local Mirror

If you have a local mirror of Fedora, you can use the baseurl configuration directive in each repository configuration section to tell YUM to use the local mirror.
Optionally, you can also disable the mirrorlist, preferably by outcommenting it, so that YUM will only use the local mirror.
The default baseurl uses http://download.fedoraproject.org/. This location may or may not be suitable for you. If you have a local mirror, you might want to change this setting here, or add your mirror to Fedora Project's Mirrorlist.

Adding your local mirror to the Mirrorlist

You can add your local mirror to the Mirrorlist, so that the Fedora Project mirrorlist redirects you to your local mirror. Additionally, systems in your local network(s) will be redirected to the local mirror. The local mirror does not have to be a public mirror in order to do so. See http://admin.fedoraproject.org/mirrormanager/ for more details.
Alternatively, you can set each baseurl directive to the location of the repository on the local mirror.
See also Section 4.3.7, “Testing & Troubleshooting the YUM Configuration”