summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002820.html
blob: e7cb32053c65ed78563c1ac06e47590cd6d49c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] mirrors readme/howto/script
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mirrors%20readme/howto/script&In-Reply-To=%3CAANLkTin0zsZ%3DbDyExs5Sshn4P8tyhNHi8bj-KUP_HC6P%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002818.html">
   <LINK REL="Next"  HREF="002917.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] mirrors readme/howto/script</H1>
    <B>Romain d'Alverny</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mirrors%20readme/howto/script&In-Reply-To=%3CAANLkTin0zsZ%3DbDyExs5Sshn4P8tyhNHi8bj-KUP_HC6P%40mail.gmail.com%3E"
       TITLE="[Mageia-sysadm] mirrors readme/howto/script">rdalverny at gmail.com
       </A><BR>
    <I>Tue Feb 22 15:40:27 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002818.html">[Mageia-sysadm] [Mageia-webteam] Forum installation (almost)	complete
</A></li>
        <LI>Next message: <A HREF="002917.html">[Mageia-sysadm] mirrors readme/howto/script
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2820">[ date ]</a>
              <a href="thread.html#2820">[ thread ]</a>
              <a href="subject.html#2820">[ subject ]</a>
              <a href="author.html#2820">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi there,

checking the mirrors.readme file, I wondered if we could not only
provide directions on how to setup a mirror, but as well provide a
simple bash script that, by default, does what we would expect best
from a mirror provider, leaving the admin customize it.

As I did it as an exercise for myself :-p here is attached such a
script, with comments to guide. Of course, it's intended more to non
experts as mirroring instructions would be enough and admins may
prefer to double-check what is going to be run. Still, in the event
this could help make the mirroring process easier for some... why not
provide it and see if/how it is used?

You may notice that it would help then that Tier1 and Tier2 mirrors
are explicitly shown as such in the default mirrors list on
mirror.mageia.org; so we can point people to, for instance,
<A HREF="http://mirrors.mageia.org/?tier1">http://mirrors.mageia.org/?tier1</A> to get only Tier1 mirrors (yes,
today, there's only one). Does that make sense?

On a side note, Nanar, how may I submit patches for the mirrors app?
push the (small) patches to you or commit to trunk directly?

As a second-thought, an extension of this script could be to provide a
sample script to gather download stats and push them to one of our
server collecting download stats from several mirrors.

What do you think?

Romain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mirror-sync.sh
Type: application/x-sh
Size: 1969 bytes
Desc: not available
URL: &lt;/pipermail/mageia-sysadm/attachments/20110222/189dccee/attachment.sh&gt;
</PRE>



















































































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002818.html">[Mageia-sysadm] [Mageia-webteam] Forum installation (almost)	complete
</A></li>
	<LI>Next message: <A HREF="002917.html">[Mageia-sysadm] mirrors readme/howto/script
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2820">[ date ]</a>
              <a href="thread.html#2820">[ thread ]</a>
              <a href="subject.html#2820">[ subject ]</a>
              <a href="author.html#2820">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>