Local repos » Historique » Version 4
Patrice Nadeau, 2015-10-11 14:45
| 1 | 1 | Patrice Nadeau | h1. Local repos |
|---|---|---|---|
| 2 | |||
| 3 | 3 | Patrice Nadeau | Information provenant de http://vavai.net/2008/10/making-a-local-copy-of-opensuse-repository-mirror-server/ |
| 4 | |||
| 5 | 4 | Patrice Nadeau | h2. Prérequis |
| 6 | |||
| 7 | Serveur FTP fonctionnel |
||
| 8 | |||
| 9 | h2. instllation |
||
| 10 | |||
| 11 | 1 | Patrice Nadeau | Install rsync |
| 12 | |||
| 13 | <pre><code class="bash"> |
||
| 14 | mkdir -p local_repos/13/2 |
||
| 15 | cd local_repos/13.2 |
||
| 16 | </code></pre> |
||
| 17 | |||
| 18 | 2 | Patrice Nadeau | Verifie le contenu du serveur rsync |
| 19 | <pre><code class="bash"> |
||
| 20 | rsync rsync.opensuse.org:: |
||
| 21 | </code></pre> |
||
| 22 | |||
| 23 | 1 | Patrice Nadeau | Débute la synchronisation |
| 24 | <pre><code class="bash"> |
||
| 25 | rsync -av --delete-after rsync.opensuse.org::/13.2/ . |
||
| 26 | </code></pre> |