From Fedora Project Wiki
m (1 revision(s))
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- Do not remove
{{header|infra}}
-->
{{needs love}}
<!-- StartHeader
MirrorManager is the application that keeps track of each of the 200+ global mirror servers for Fedora content.  It has three distinct audiences: End Users, Mirror Server Administrators, and Fedora Infrastructure System Administrators.
-->
 
<pre>#!html
== End User Interfaces ==
<div style="height:66px; width:100%; background-color:#002867;">
 
<a href = "http://fedoraproject.org/wiki/Infrastructure"> <img style="float:right;padding-top:3px;" src="http://fedoraproject.org/wiki/Infrastructure?action=AttachFile&do=get&target=InfrastructureTeamN1.png" /></a>
=== mirrorlists (used by YUM) ===
</div>
==== Metalink format mirrorlist ====


<HR style="height:2px; background-color:#00578E;" />
Yum in Fedora 10 and higher can process the mirror list in [http://metalinker.org metalink] format, which provides additional security checking capability.  Yum compares the SHA1 checksums of each repository's repomd.xml file against that of the master mirrors.  This ensures that significantly out-of-date mirrors are not used.
</pre>
<!-- EndHeader
-->


= Fedora MirrorManager =
The yum repo file URL format is:


MirrorManager is the application that keeps track of each of the 200+ global mirror servers for Fedora contentIt has three distinct audiences: End Users, Mirror Server Administrators, and Fedora Infrastructure System Administrators.
metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch
 
==== Traditional mirrorlist ====
 
Yum also can process a mirror list in plain text format.  
 
The yum repo file URL format is:
 
  mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch


==== Optional use of HTTPS ====


MirrorManager may use HTTPS instead of HTTP upon request.  However, as of Fedora 10, yum does not validate HTTPS certificates to ensure they were issued by a trusted certificate authority, so this is of limited value and not enabled by default in Fedora repo config files.


== End User Interfaces ==
URL formats:
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch
mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch


=== mirrorlist CGI ===
==== Additional options ====


Running at http://mirrors.fedoraproject.org/mirrorlist? is a CGI application that is used primarily by YUM.  It processes a query, returning a list of mirror server URLs that have the content requested in the query.
The following options can be appended to each of the URLs listed above to return more customized mirror lists.


Options that can be passed to mirrorlist:
Options that can be passed to mirrorlist or metalink:


{| border="1"
{| border="1"
Line 47: Line 56:
=== Public List web pages ===
=== Public List web pages ===
Human-readable lists of the mirror servers are available at http://mirrors.fedoraproject.org/publiclist/.
Human-readable lists of the mirror servers are available at http://mirrors.fedoraproject.org/publiclist/.


== Mirror Server Administrators ==
== Mirror Server Administrators ==
Line 56: Line 64:
Information about your Site (the administrative level of control), your Hosts (the servers themselves), what Categories of content they carry, and at which URLs can be entered.  In addition, you may specify Netblocks - groups of IP addresses which are considered "local", and therefore preferred, for your servers.  The mirrorlist CGI will return Netblock-local servers first.
Information about your Site (the administrative level of control), your Hosts (the servers themselves), what Categories of content they carry, and at which URLs can be entered.  In addition, you may specify Netblocks - groups of IP addresses which are considered "local", and therefore preferred, for your servers.  The mirrorlist CGI will return Netblock-local servers first.


----
[[Category:Infrastructure]]
[[Category:Infrastructure]]

Latest revision as of 13:58, 8 October 2015

This page needs some love
This page should be revised or reconstructed to be more helpful. Problems may include being out of step with current team or project status or process.

MirrorManager is the application that keeps track of each of the 200+ global mirror servers for Fedora content. It has three distinct audiences: End Users, Mirror Server Administrators, and Fedora Infrastructure System Administrators.

End User Interfaces

mirrorlists (used by YUM)

Metalink format mirrorlist

Yum in Fedora 10 and higher can process the mirror list in metalink format, which provides additional security checking capability. Yum compares the SHA1 checksums of each repository's repomd.xml file against that of the master mirrors. This ensures that significantly out-of-date mirrors are not used.

The yum repo file URL format is:

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

Traditional mirrorlist

Yum also can process a mirror list in plain text format.

The yum repo file URL format is:

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

Optional use of HTTPS

MirrorManager may use HTTPS instead of HTTP upon request. However, as of Fedora 10, yum does not validate HTTPS certificates to ensure they were issued by a trusted certificate authority, so this is of limited value and not enabled by default in Fedora repo config files.

URL formats:

metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch
mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

Additional options

The following options can be appended to each of the URLs listed above to return more customized mirror lists.

Options that can be passed to mirrorlist or metalink:

&repo=fedora-7&arch=i386 Some combination of repository tag, and an architecture
&path=pub/..... A path name, either a directory or path to a file, using the tree names as found on the master servers.
&country=global override the GeoIP checks for your country and specify you want the global list
&country=us,ca,jp override the GeoIP checks and specify a list of comma-separated 2-letter ISO country codes
&ip=18.0.0.1 override the client IP address detection and specify an IP address instead
&redirect=1 After all other processing is done, automatically perform a HTTP redirect to the first result returned

download.fedoraproject.org

URLs of the form http://download.fedoraproject.org/pub/fedora/linux/... (directory path or full file path) are automatically redirected to a mirror containing that path or file.

Public List web pages

Human-readable lists of the mirror servers are available at http://mirrors.fedoraproject.org/publiclist/.

Mirror Server Administrators

Mirror servers may be public (e.g. open for anyone to download data from), or private (e.g usage restricted in some way). Data for both types may be stored in the mirrormanager database.

The MirrorManager web user interface is at https://admin.fedoraproject.org/mirrormanager. You must have a Fedora Account System account to log in and edit data there.

Information about your Site (the administrative level of control), your Hosts (the servers themselves), what Categories of content they carry, and at which URLs can be entered. In addition, you may specify Netblocks - groups of IP addresses which are considered "local", and therefore preferred, for your servers. The mirrorlist CGI will return Netblock-local servers first.