| 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.14 2003/11/15 00:35:19 neysx Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/source_mirrors.xml,v 1.23 2005/01/11 21:04:40 neysx Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/source_mirrors.xml"> |
5 | <guide link="/doc/en/source_mirrors.xml"> |
| 6 | <title>Gentoo Linux Source Mirrors Policy</title> |
6 | <title>Gentoo Linux Source Mirrors Policy</title> |
| 7 | <author title="Author"><mail link="klieber@gentoo.org">Kurt Lieber</mail></author> |
7 | <author title="Author"> |
|
|
8 | <mail link="klieber@gentoo.org">Kurt Lieber</mail> |
|
|
9 | </author> |
|
|
10 | <author title="Editor"> |
|
|
11 | <mail link="cshields@gentoo.org">Corey Shields</mail> |
|
|
12 | </author> |
|
|
13 | <author title="Editor"> |
|
|
14 | <mail link="bennyc@gentoo.org">Benny Chuang</mail> |
|
|
15 | </author> |
|
|
16 | <author title="Editor"> |
|
|
17 | <mail link="jforman@gentoo.org">Jeffrey Forman</mail> |
|
|
18 | </author> |
| 8 | |
19 | |
| 9 | <version>1.1</version> |
20 | <abstract> |
| 10 | <date>17 Feb 2003</date> |
21 | This document explains the requirements for source mirrors. |
|
|
22 | </abstract> |
| 11 | |
23 | |
| 12 | <license/> |
24 | <license/> |
|
|
25 | <version>1.4</version> |
|
|
26 | <date>2005-01-11</date> |
| 13 | |
27 | |
| 14 | <chapter> |
28 | <chapter> |
| 15 | <title>Requirements</title> |
29 | <title>Requirements</title> |
| 16 | <section> |
30 | <section> |
| 17 | <title>Minimum Bandwidth</title> |
31 | <title>Minimum Bandwidth</title> |
| 18 | <body> |
32 | <body> |
|
|
33 | |
|
|
34 | <p> |
| 19 | <p> To properly host a source mirror you should have a minimum of 5Mbps upstream bandwidth. |
35 | To properly host a source mirror, you should have a minimum of 5Mbps upstream |
| 20 | ADSL and cable connections do not generally make adequate connections for distfile hosts due to their limited upstream performance.</p> |
36 | bandwidth. ADSL and cable connections do not generally make adequate |
|
|
37 | connections for distfile hosts due to their limited upstream performance. |
|
|
38 | </p> |
|
|
39 | |
|
|
40 | </body> |
|
|
41 | </section> |
|
|
42 | <section> |
|
|
43 | <title>Minimum Disk Space</title> |
|
|
44 | <body> |
|
|
45 | |
|
|
46 | <p> |
|
|
47 | The space requirements depend on whether you choose to run a "Full" mirror or a |
|
|
48 | "Distfiles only" mirror. Full mirrors require 90 GB of disk space. Distfiles |
|
|
49 | only mirrors require 40 GB of space. |
|
|
50 | </p> |
|
|
51 | |
| 21 | </body> |
52 | </body> |
| 22 | </section> |
53 | </section> |
| 23 | <section> |
54 | <section> |
| 24 | <title>Minimum User Count</title> |
55 | <title>Minimum User Count</title> |
| 25 | <body> |
56 | <body> |
|
|
57 | |
|
|
58 | <p> |
| 26 | <p>We ask that you support a minimum of 15 and preferrably 30 concurrent user connections.</p> |
59 | We ask that you support a minimum of 15 and preferrably 30 concurrent user |
|
|
60 | connections. |
|
|
61 | </p> |
|
|
62 | |
| 27 | </body> |
63 | </body> |
| 28 | </section> |
64 | </section> |
| 29 | <section> |
65 | <section> |
| 30 | <title>Update Frequency</title> |
66 | <title>Update Frequency</title> |
| 31 | <body> |
67 | <body> |
| 32 | <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> |
68 | |
|
|
69 | <p> |
|
|
70 | All mirrors must be synchronized every four hours, starting at midnight in your |
|
|
71 | local time zone. This helps distribute the load out over a period of time, |
|
|
72 | rather than having all mirrors synchronize at the same time. |
|
|
73 | </p> |
| 33 | </body> |
74 | </body> |
| 34 | </section> |
75 | </section> |
| 35 | </chapter> |
76 | </chapter> |
|
|
77 | |
| 36 | <chapter> |
78 | <chapter> |
| 37 | <title>Implementation details</title> |
79 | <title>Implementation details</title> |
| 38 | <section> |
80 | <section> |
| 39 | <body> |
81 | <body> |
|
|
82 | |
|
|
83 | <p> |
| 40 | <p>for new source mirror requests, the procedure will be as follows:</p> |
84 | For new source mirror requests, the procedure will be as follows: |
| 41 | <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> |
85 | </p> |
| 42 | <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> |
|
|
| 43 | |
86 | |
| 44 | <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> |
|
|
| 45 | |
|
|
| 46 | <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. |
|
|
| 47 | </p> |
87 | <p> |
| 48 | <note> |
88 | Set up your server to rsync with ftp.ussg.iu.edu::gentoo-distfiles. Once you |
| 49 | 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>. |
89 | have a complete mirror of that server, please file a bug report on |
| 50 | </note> |
90 | bugs.gentoo.org under the "rsync" category stating that you have a new mirror |
| 51 | </body> |
91 | and wish it to be added to the list of official mirrors. Please specify |
| 52 | </section> |
92 | whether you wish to be a "Full" mirror or "Distfiles only" mirror. Distfiles |
| 53 | </chapter> |
93 | only mirrors will be designated as such on the website. |
| 54 | <chapter> |
94 | </p> |
| 55 | <title>Short FAQ</title> |
95 | |
| 56 | <section> |
|
|
| 57 | <title>Q: Who should I contact regarding new mirrors or to get my mirror added to the Gentoo web site?</title> |
|
|
| 58 | <body> |
|
|
| 59 | <p>A: Please file a bug on bugs.gentoo.org under the rsync category.</p> |
|
|
| 60 | </body> |
|
|
| 61 | </section> |
|
|
| 62 | <section> |
|
|
| 63 | <title>Q: Who should I contact regarding mirror issues and maintenance?</title> |
|
|
| 64 | <body> |
|
|
| 65 | <p>A: Please file a bug on bugs.gentoo.org under the rsync category.</p> |
|
|
| 66 | </body> |
|
|
| 67 | </section> |
|
|
| 68 | <section> |
|
|
| 69 | <title>Q: I run a private source mirror for my company. Can I still access the private master source mirror?</title> |
|
|
| 70 | <body> |
|
|
| 71 | <p>A: Because our resources are limited, we need to ensure we allocate them in such a way |
|
|
| 72 | to provide the maximum amount of benefit to our users. As such, we limit connections |
|
|
| 73 | to our master rsync and distfile mirrors to public mirrors only. Users are welcome to use our regular mirror system to establish a private source mirror. |
|
|
| 74 | </p> |
96 | <p> |
| 75 | </body> |
97 | Full mirrors must carry the following directories (plus any directories that |
| 76 | </section> |
98 | get added in the future): |
| 77 | |
|
|
| 78 | <section> |
|
|
| 79 | <title>Q: How do I find the mirror nearest to me?</title> |
|
|
| 80 | <body> |
|
|
| 81 | <p>A: mirrorselect was designed to do this for you. If you haven't already run <c>emerge mirrorselect</c> then do it. |
|
|
| 82 | Then run: <c>mirrorselect</c>. An ncurses-based menu will display allowing you to select a mirror close to you. |
|
|
| 83 | </p> |
99 | </p> |
| 84 | </body> |
100 | |
| 85 | </section> |
|
|
| 86 | <section> |
|
|
| 87 | <title>Q: How much space does a full source mirror require?</title> |
|
|
| 88 | <body> |
|
|
| 89 | <p>A: At the moment, a full mirror requires between 30GB and 40GB of disk space and comprises the following four directories. |
|
|
| 90 | </p> |
|
|
| 91 | <ul> |
101 | <ul> |
| 92 | <li>/release</li> |
102 | <li>/releases</li> |
| 93 | <li>/experimental</li> |
103 | <li>/experimental</li> |
| 94 | <li>/distfiles</li> |
104 | <li>/distfiles</li> |
| 95 | <li>/snapshots</li> |
105 | <li>/snapshots</li> |
|
|
106 | <li>/grp</li> |
| 96 | </ul> |
107 | </ul> |
| 97 | <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> |
108 | |
| 98 | </body> |
109 | <p> |
| 99 | </section> |
110 | Distfiles only mirrors need to carry the following directories: |
| 100 | <section> |
111 | </p> |
| 101 | <title>Q: I don't have that much disk space. Can I mirror part of the sources?</title> |
112 | |
| 102 | <body> |
|
|
| 103 | <p>A: Yes, if you are unable to mirror our full sources, you can elect to mirror the following two directories only:</p> |
|
|
| 104 | <ul> |
113 | <ul> |
| 105 | <li>/distfiles</li> |
114 | <li>/distfiles</li> |
| 106 | <li>/snapshots</li> |
115 | <li>/snapshots</li> |
| 107 | </ul> |
116 | </ul> |
| 108 | <p>These two directories will require approximately 20GB of space and you will be listed on our site as a distfiles-only mirror.</p> |
117 | |
|
|
118 | <p> |
|
|
119 | We will then verify that the mirror exists and we can connect to it properly. |
|
|
120 | Then, in the next 48-72 hours, we will determine if your mirror is syncing |
|
|
121 | correctly and in accordance with this policy. |
|
|
122 | </p> |
|
|
123 | |
|
|
124 | <p> |
|
|
125 | If all steps went smoothly, we will then add you to our list of <uri |
|
|
126 | link="/main/en/mirrors.xml">download mirrors</uri> on the main web site. We |
|
|
127 | will also send you the login information for our private master distfile mirror |
|
|
128 | which is only available to official Gentoo Linux source mirrors. |
|
|
129 | </p> |
|
|
130 | |
|
|
131 | <p> |
|
|
132 | Additionally, you, the mirror admin, will be requested to subscribe to the |
|
|
133 | gentoo-mirrors mailing list (low traffic) so that you can follow all issues |
|
|
134 | associated with source mirrors. |
|
|
135 | </p> |
|
|
136 | |
|
|
137 | <note> |
|
|
138 | Thanks for helping out Gentoo Linux users and developers! :) For any mirror |
|
|
139 | administration issues or problems, please contact <mail |
|
|
140 | link="mirror-admin@gentoo.org">mirror-admin@gentoo.org</mail>. |
|
|
141 | </note> |
|
|
142 | |
|
|
143 | <warn> |
|
|
144 | Do NOT email mirror-admin@gentoo.org for mirror requests, please file a bug. It makes mirror tracking easier on us. |
|
|
145 | </warn> |
|
|
146 | |
|
|
147 | </body> |
|
|
148 | </section> |
|
|
149 | </chapter> |
|
|
150 | |
|
|
151 | <chapter> |
|
|
152 | <title>Short FAQ</title> |
|
|
153 | <section> |
|
|
154 | <title>Q: Who should I contact regarding new mirrors or to get my mirror added to the Gentoo web site?</title> |
|
|
155 | <body> |
|
|
156 | |
|
|
157 | <p> |
|
|
158 | A: Please file a bug on bugs.gentoo.org under the rsync category. |
|
|
159 | </p> |
|
|
160 | |
|
|
161 | </body> |
|
|
162 | </section> |
|
|
163 | <section> |
|
|
164 | <title>Q: Who should I contact regarding mirror issues and maintenance?</title> |
|
|
165 | <body> |
|
|
166 | |
|
|
167 | <p> |
|
|
168 | A: Please file a bug on bugs.gentoo.org under the rsync category. |
|
|
169 | </p> |
|
|
170 | |
|
|
171 | </body> |
|
|
172 | </section> |
|
|
173 | <section> |
|
|
174 | <title>Q: I run a private source mirror for my company. Can I still access the private master source mirror?</title> |
|
|
175 | <body> |
|
|
176 | |
|
|
177 | <p> |
|
|
178 | A: Because our resources are limited, we need to ensure we allocate them in |
|
|
179 | such a way to provide the maximum amount of benefit to our users. As such, we |
|
|
180 | limit connections to our master rsync and distfile mirrors to public mirrors |
|
|
181 | only. Users are welcome to use our regular mirror system to establish a |
|
|
182 | private source mirror. |
|
|
183 | </p> |
|
|
184 | |
|
|
185 | </body> |
|
|
186 | </section> |
|
|
187 | |
|
|
188 | <section> |
|
|
189 | <title>Q: How do I find the mirror nearest to me?</title> |
|
|
190 | <body> |
|
|
191 | |
|
|
192 | <p> |
|
|
193 | A: mirrorselect was designed to do this for you. If you haven't already run |
|
|
194 | <c>emerge mirrorselect</c>, then please do so. Then run: <c>mirrorselect</c>. |
|
|
195 | An ncurses-based menu will display allowing you to select a mirror close to |
|
|
196 | you. |
|
|
197 | </p> |
|
|
198 | |
|
|
199 | </body> |
|
|
200 | </section> |
|
|
201 | <section> |
|
|
202 | <title>Q: I don't have that much disk space. Can I mirror part of the sources?</title> |
|
|
203 | <body> |
|
|
204 | |
|
|
205 | <p> |
|
|
206 | A: Yes, if you are unable to mirror our full sources, you can elect to mirror |
|
|
207 | the following two directories only: |
|
|
208 | </p> |
|
|
209 | |
|
|
210 | <ul> |
|
|
211 | <li>/distfiles</li> |
|
|
212 | <li>/snapshots</li> |
|
|
213 | </ul> |
|
|
214 | |
|
|
215 | <p> |
|
|
216 | These two directories will require approximately 40GB of space and you will be |
|
|
217 | listed on our site as a distfiles-only mirror. |
|
|
218 | </p> |
|
|
219 | |
| 109 | </body> |
220 | </body> |
| 110 | </section> |
221 | </section> |
| 111 | <section> |
222 | <section> |
| 112 | <title>Q: Do I have to turn on Directory Indexing for directories served up via HTTP?</title> |
223 | <title>Q: Do I have to turn on Directory Indexing for directories served up via HTTP?</title> |
| 113 | <body> |
224 | <body> |
| 114 | <p>A: Directory Indexing is required for the /releases and /experimental directories, but can be turned off for all other directories (including /distfiles) if you wish. |
225 | |
| 115 | </p> |
226 | <p> |
|
|
227 | A: Directory Indexing is required for the /releases and /experimental |
|
|
228 | directories, but can be turned off for all other directories (including |
|
|
229 | /distfiles) if you wish. |
|
|
230 | </p> |
|
|
231 | |
| 116 | </body> |
232 | </body> |
| 117 | </section> |
233 | </section> |
| 118 | </chapter> |
234 | </chapter> |
| 119 | </guide> |
235 | </guide> |