1 |
misc |
872 |
__ __ _ |
2 |
|
|
| \/ | __ _ __ _ ___(_) __ _ |
3 |
|
|
| |\/| |/ _` |/ _` |/ _ \ |/ _` | |
4 |
|
|
| | | | (_| | (_| | __/ | (_| | |
5 |
|
|
|_| |_|\__,_|\__, |\___|_|\__,_| |
6 |
|
|
|___/ |
7 |
|
|
|
8 |
|
|
This document describe the way to do a Mageia Mirror. |
9 |
|
|
|
10 |
misc |
873 |
1) Prerequisite |
11 |
|
|
--------------- |
12 |
misc |
872 |
|
13 |
misc |
873 |
The expected size is around 700GB. |
14 |
misc |
872 |
|
15 |
misc |
873 |
You will need rsync software to synchronise the tree. |
16 |
misc |
872 |
|
17 |
|
|
2) Official source |
18 |
misc |
873 |
------------------ |
19 |
misc |
872 |
|
20 |
misc |
873 |
If you plan to create a public mirror, we encourage you to use |
21 |
|
|
one of our Tier1 mirror. |
22 |
misc |
872 |
|
23 |
misc |
873 |
Theses servers synchronise the tree directly from the Mageia rsync server. |
24 |
misc |
872 |
|
25 |
|
|
o rsync://distrib-coffee.ipsl.jussieu.fr/mageia/ |
26 |
|
|
located in Paris (France) |
27 |
|
|
|
28 |
|
|
3) Rsync options |
29 |
misc |
873 |
---------------- |
30 |
misc |
872 |
|
31 |
misc |
873 |
Ensure you're using a least theses options: |
32 |
misc |
872 |
|
33 |
|
|
-a -H |
34 |
|
|
|
35 |
misc |
873 |
We would appreciate if theses options are also used: |
36 |
misc |
872 |
|
37 |
|
|
--delete-after -S |
38 |
|
|
|
39 |
misc |
873 |
Don't use compression and checksum options, they will overload the remote |
40 |
misc |
872 |
server |
41 |
|
|
|
42 |
misc |
873 |
4) Automation |
43 |
|
|
------------- |
44 |
misc |
872 |
|
45 |
misc |
873 |
The tree must be synchronized at least every 2 hours. |
46 |
misc |
872 |
|
47 |
|
|
Please ensure another rsync process is not started while first one is |
48 |
misc |
873 |
still running, by using a lock file. |
49 |
misc |
872 |
|
50 |
|
|
5) Registering your mirror |
51 |
misc |
873 |
-------------------------- |
52 |
misc |
872 |
|
53 |
|
|
TODO |