| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
|
|
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/source_mirrors.xml,v 1.17 2004/06/15 07:26:13 bennyc Exp $ --> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | |
4 | |
| 4 | <guide link="/doc/en/source_mirrors.xml"> |
5 | <guide link="/doc/en/source_mirrors.xml"> |
| 5 | <title>Gentoo Linux Source Mirrors Policy</title> |
6 | <title>Gentoo Linux Source Mirrors Policy</title> |
| 6 | <author title="Author"><mail link="klieber@gentoo.org">Kurt Lieber</mail></author> |
7 | <author title="Author"><mail link="klieber@gentoo.org">Kurt Lieber</mail></author> |
|
|
8 | <author title="Editor"><mail link="cshields@gentoo.org">Corey Shields</mail></author> |
|
|
9 | <author title="Editor"> |
|
|
10 | <mail link="bennyc@gentoo.org">Benny Chuang</mail> |
|
|
11 | </author> |
| 7 | |
12 | |
|
|
13 | <abstract> |
|
|
14 | This document explains the requirements for source mirrors. |
|
|
15 | </abstract> |
|
|
16 | <license/> |
| 8 | <version>1.1</version> |
17 | <version>1.2</version> |
| 9 | <date>17 Feb 2003</date> |
18 | <date>8 Mar 2004</date> |
|
|
19 | |
| 10 | |
20 | |
| 11 | <chapter> |
21 | <chapter> |
| 12 | <title>Requirements</title> |
22 | <title>Requirements</title> |
| 13 | <section> |
23 | <section> |
| 14 | <title>Minimum Bandwidth</title> |
24 | <title>Minimum Bandwidth</title> |
| 15 | <body> |
25 | <body> |
| 16 | <p> To properly host a source mirror you should have a minimum of 5Mbps upstream bandwidth. |
26 | <p> To properly host a source mirror, you should have a minimum of 5Mbps upstream bandwidth. |
| 17 | ADSL and cable connections do not generally make adequate connections for distfile hosts due to their limited upstream performance.</p> |
27 | ADSL and cable connections do not generally make adequate connections for distfile hosts due to their limited upstream performance.</p> |
|
|
28 | </body> |
|
|
29 | </section> |
|
|
30 | <section> |
|
|
31 | <title>Minimum Disk Space</title> |
|
|
32 | <body> |
|
|
33 | <p> The space requirements depend on whether you choose to run a "Full" mirror or a "Distfiles only" mirror. Full mirrors require 60 gigabytes of disk space. Distfiles only mirrors require 30 gigabytes of space.</p> |
| 18 | </body> |
34 | </body> |
| 19 | </section> |
35 | </section> |
| 20 | <section> |
36 | <section> |
| 21 | <title>Minimum User Count</title> |
37 | <title>Minimum User Count</title> |
| 22 | <body> |
38 | <body> |
| … | |
… | |
| 24 | </body> |
40 | </body> |
| 25 | </section> |
41 | </section> |
| 26 | <section> |
42 | <section> |
| 27 | <title>Update Frequency</title> |
43 | <title>Update Frequency</title> |
| 28 | <body> |
44 | <body> |
| 29 | <p>All mirrors must be synchronized every four hours, starting at midnight, UTC.</p> |
45 | <p>All mirrors must be synchronized every four hours, starting at midnight in your local time zone. This helps distribute the load out over a period of time, rather than having all mirrors synchronize at the same time.</p> |
| 30 | </body> |
46 | </body> |
| 31 | </section> |
47 | </section> |
| 32 | </chapter> |
48 | </chapter> |
| 33 | <chapter> |
49 | <chapter> |
| 34 | <title>Implementation details</title> |
50 | <title>Implementation details</title> |
| 35 | <section> |
51 | <section> |
| 36 | <body> |
52 | <body> |
| 37 | <p>for new source mirror requests, the procedure will be as follows:</p> |
53 | <p>For new source mirror requests, the procedure will be as follows:</p> |
| 38 | <p>Set up your server to rsync with www.ibiblio.org::gentoo. Once you have a complete mirror of that server, please file a bug report on bugs.gentoo.org under the "rsync" category stating that you have a new mirror and wish it to be added to the list of official mirrors.</p> |
54 | <p>Set up your server to rsync with www.ibiblio.org::gentoo. Once you have a complete mirror of that server, please file a bug report on bugs.gentoo.org under the "rsync" category stating that you have a new mirror and wish it to be added to the list of official mirrors. Please specify whether you wish to be a "Full" mirror or "Distfiles only" mirror. Distfiles only mirrors will be designated as such on the website.</p> |
|
|
55 | <p>Full mirrors must carry the following directories (plus any directories that get added in the future):</p> |
|
|
56 | <ul> |
|
|
57 | <li>/releases</li> |
|
|
58 | <li>/experimental</li> |
|
|
59 | <li>/distfiles</li> |
|
|
60 | <li>/snapshots</li> |
|
|
61 | <li>/grp</li> |
|
|
62 | </ul> |
|
|
63 | <p>Distfiles only mirrors need to carry the following directories:</p> |
|
|
64 | <ul> |
|
|
65 | <li>/distfiles</li> |
|
|
66 | <li>/snapshots</li> |
|
|
67 | </ul> |
|
|
68 | |
| 39 | <p>We will then verify that the mirror exists and we can connect to it properly. Then, in the next 48-72 hours we will determine if your mirror is syncing correctly and in accordance with this policy.</p> |
69 | <p>We will then verify that the mirror exists and we can connect to it properly. Then, in the next 48-72 hours, we will determine if your mirror is syncing correctly and in accordance with this policy.</p> |
| 40 | |
70 | |
| 41 | <p>If all steps went smoothly, we will then add you to our list of <uri link="http://www.gentoo.org/main/en/mirrors.xml">download mirrors</uri> on the main web site. We will also send you the login information for our private master distfile mirror which is only available to official Gentoo Linux source mirrors.</p> |
71 | <p>If all steps went smoothly, we will then add you to our list of <uri link="http://www.gentoo.org/main/en/mirrors.xml">download mirrors</uri> on the main web site. We will also send you the login information for our private master distfile mirror which is only available to official Gentoo Linux source mirrors.</p> |
| 42 | |
72 | |
| 43 | <p>Additionally, you, the mirror admin will be added to the gentoo-mirrors mailing list (low traffic) so that you can follow all issues associated with source mirrors. |
73 | <p>Additionally, you, the mirror admin, will be added to the gentoo-mirrors mailing list (low traffic) so that you can follow all issues associated with source mirrors. |
| 44 | </p> |
74 | </p> |
| 45 | <note> |
75 | <note> |
| 46 | Thanks for helping out Gentoo Linux users and developers! :) For any mirror administration issues or problems, please contact <mail link="mirror-admin@gentoo.org">mirror-admin@gentoo.org</mail>. |
76 | Thanks for helping out Gentoo Linux users and developers! :) For any mirror administration issues or problems, please contact <mail link="mirror-admin@gentoo.org">mirror-admin@gentoo.org</mail>. |
| 47 | </note> |
77 | </note> |
| 48 | </body> |
78 | </body> |
| … | |
… | |
| 73 | </section> |
103 | </section> |
| 74 | |
104 | |
| 75 | <section> |
105 | <section> |
| 76 | <title>Q: How do I find the mirror nearest to me?</title> |
106 | <title>Q: How do I find the mirror nearest to me?</title> |
| 77 | <body> |
107 | <body> |
| 78 | <p>A: mirrorselect was designed to do this for you. If you haven't already run <c>emerge mirrorselect</c> then do it. |
108 | <p>A: mirrorselect was designed to do this for you. If you haven't already run <c>emerge mirrorselect</c>, then please do so. |
| 79 | Then run: <c>mirrorselect</c>. An ncurses-based menu will display allowing you to select a mirror close to you. |
109 | Then run: <c>mirrorselect</c>. An ncurses-based menu will display allowing you to select a mirror close to you. |
| 80 | </p> |
110 | </p> |
| 81 | </body> |
|
|
| 82 | </section> |
|
|
| 83 | <section> |
|
|
| 84 | <title>Q: How much space does a full source mirror require?</title> |
|
|
| 85 | <body> |
|
|
| 86 | <p>A: At the moment, a full mirror requires between 30GB and 40GB of disk space and comprises the following four directories. |
|
|
| 87 | </p> |
|
|
| 88 | <ul> |
|
|
| 89 | <li>/release</li> |
|
|
| 90 | <li>/experimental</li> |
|
|
| 91 | <li>/distfiles</li> |
|
|
| 92 | <li>/snapshots</li> |
|
|
| 93 | </ul> |
|
|
| 94 | <p>In order to be a full Gentoo Linux source mirror, we ask that you mirror all four of these directories in their entirety.</p> |
|
|
| 95 | </body> |
111 | </body> |
| 96 | </section> |
112 | </section> |
| 97 | <section> |
113 | <section> |
| 98 | <title>Q: I don't have that much disk space. Can I mirror part of the sources?</title> |
114 | <title>Q: I don't have that much disk space. Can I mirror part of the sources?</title> |
| 99 | <body> |
115 | <body> |
| 100 | <p>A: Yes, if you are unable to mirror our full sources, you can elect to mirror the following two directories only:</p> |
116 | <p>A: Yes, if you are unable to mirror our full sources, you can elect to mirror the following two directories only:</p> |
| 101 | <ul> |
117 | <ul> |
| 102 | <li>/distfiles</li> |
118 | <li>/distfiles</li> |
| 103 | <li>/snapshots</li> |
119 | <li>/snapshots</li> |
| 104 | </ul> |
120 | </ul> |
| 105 | <p>These two directories will require approximately 20GB of space and you will be listed on our site as a distfiles-only mirror.</p> |
121 | <p>These two directories will require approximately 30GB of space and you will be listed on our site as a distfiles-only mirror.</p> |
| 106 | </body> |
122 | </body> |
| 107 | </section> |
123 | </section> |
| 108 | <section> |
124 | <section> |
| 109 | <title>Q: Do I have to turn on Directory Indexing for directories served up via HTTP?</title> |
125 | <title>Q: Do I have to turn on Directory Indexing for directories served up via HTTP?</title> |
| 110 | <body> |
126 | <body> |