Difference between revisions of "Mirroring"

From Wiki [en] OpenMandriva
Jump to: navigation, search
m
(REQUIRE --delay-updates --delete-delay)
Line 25: Line 25:
 
===Synchronize your mirror===
 
===Synchronize your mirror===
 
* You may use '''rsync''' ('''man rsync''' for details)
 
* You may use '''rsync''' ('''man rsync''' for details)
  /usr/bin/rsync -av --delete mirror.rosalinux.com::openmandriva/ /your_path
+
  /usr/bin/rsync -av --delete --delete-delay --numeric-ids --delay-updates --exclude=.~tmp~/ mirror.rosalinux.com::openmandriva/ /your_path
 +
 
 +
* '''YOU MUST''' use <code>--delete-delay</code> and <code>--delay-updates</code>, at the very least.
  
 
* The best is to synchronize every 6 or 12 hours
 
* The best is to synchronize every 6 or 12 hours

Revision as of 02:25, 22 May 2014

Warn02.png
This wiki article may have one or more issues, and require cleanup or review in order to comply with the OpenMandriva Wiki Quality Standards.
Please help improve it or discuss these issues on the talk page. The following reason was given: Need improvements

List of active mirrors (Mirmon)

http://downloads.openmandriva.org/mm/

Lists of mirrors for configuring the media

http://downloads.openmandriva.org/mirrors/

Setting up a mirror

Please follow this process:

  • Use one of our T-1 mirrors:
http://mirror.rosalinux.com/openmandriva/
http://mirror.yandex.ru/openmandriva/
  • Don't forget the TIME file. It is needed for Mirmon to work correctly
  • At least 300GB of free disk space is needed

Adding the urls to our lists

  • Mirmon: send the url of your mirror to the workshop team (your mail will eventually be held for moderation, the first time). We will add it to the lists.
  • Media list: for each release (cooker, 2013, 2014, ...) the record is set as:
country=CountryName,city=CityName,latitude=[-]xx.y[y],longitude=[-]xx.y[y],bw=xxGB,version=VersionName,arch=ArchName,type=distrib,url=[ftp|http]://RootUrl/repository/ArchNmae

For example:

country=Brasil,city=Curitiba,latitude=-13.58,longitude=-51.85,bw=1GB,version=2013.0,arch=x86_64,type=distrib,url=ftp://openmandriva.c3sl.ufpr.br/openmandriva/openmandriva2013.0/repository/x86_64/

Please send also the relevant details for your mirror.

Synchronize your mirror

  • You may use rsync (man rsync for details)
/usr/bin/rsync -av --delete --delete-delay --numeric-ids --delay-updates --exclude=.~tmp~/ mirror.rosalinux.com::openmandriva/ /your_path
  • YOU MUST use --delete-delay and --delay-updates, at the very least.
  • The best is to synchronize every 6 or 12 hours