Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mirror [2011/01/15 16:18] 81.245.97.147mirror [2011/11/25 21:39] (current) – removed nick
Line 1: Line 1:
-======Setting up a mirror for the Xfce archives====== 
- 
-The Xfce archives use [[http://www.mirrorbrain.org|MirrorBrain]] to redirect the downloads to a mirror server the closest to the downloader. In order to set up your own mirror for the Xfce archives, these are the steps to follow : 
- 
-1. Contact the mirror maintainers (Nick Schermer <nick@xfce.org> and Jean-François Wauthy <pollux@xfce.org>) with the IP address of your server and information about its location. 
- 
-2. If your mirror offer fills a need (while we really appreciate it, it is unnecessary to have multiple mirrors at the same location using the same connectivity), the IP of your server will be whitelisted on the main rsync mirror. 
- 
-3. You can then pull the archive tree from [[rsync://mocha.xfce.org/archive.xfce.org]], using a command like : 
-  rsync --recursive --times --links --delete --delete-after rsync://mocha.xfce.org/archive.xfce.org/ /var/www/xfce-mirror 
- 
-4. Configure your mirror to regularly sync with the main rsync mirror. Here is an example with cron : 
-  42 * * * *    /usr/bin/rsync --quiet --recursive --times --links --delete --delete-after rsync://mocha.xfce.org/archive.xfce.org/ /var/www/xfce-mirror 
- 
-//Please use an other value for the minutes so that not every mirrors try to sync at the same time.// 
- 
-5. Configure a read-only rsync module on your server that will allow our MirrorBrain installation to regularly check the content of your mirror. We only need this rsync module to be accessible from archive.xfce.org (130.237.188.212), but you can leave it publicly open if you want. Here is an example of rsync module configuration to put in your rsyncd.conf : 
- 
-  [xfce-mirror] 
-  comment = Xfce Archives 
-  path = /var/www/xfce-mirror 
-  use chroot = yes 
-  read only = yes 
-  list = yes 
-  uid = www-data 
-  gid = www-data 
- 
-6. Send the rsync module information and HTTP URL of your mirror to the mirror maintainers in order to have them add your mirror in MirrorBrain configuration. 
- 
-7. Look for your mirror in the mirrorlist on e.g. [[http://archive.xfce.org/xfce/4.8pre3/fat_tarballs/xfce-4.8pre3.tar.bz2.mirrorlist]]