Author: poeml Date: Wed Jan 20 19:07:44 2010 New Revision: 7941 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7941&view=rev Log: docs/installation: - the example for creating metalink hashes was wrong. Fix it and add some more details. Modified: trunk/docs/installation/source.rst trunk/mod_mirrorbrain/mod_mirrorbrain.c Modified: trunk/docs/installation/source.rst URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/source.rst?rev=7941&r1=7940&r2=7941&view=diff ============================================================================== --- trunk/docs/installation/source.rst (original) +++ trunk/docs/installation/source.rst Wed Jan 20 19:07:44 2010 _at_@ -344,13 +344,23 @@ * First, add some configuration:: MirrorBrainMetalinkPublisher "openSUSE" http://download.opensuse.org - MirrorBrainMetalinkHashesPathPrefix /srv/metalink-hashes/ppc + MirrorBrainMetalinkHashesPathPrefix /srv/metalink-hashes/srv/opensuse * install the "metalink" tool from http://metamirrors.nl/metalinks_project - (openSUSE package called metalink, http://download.opensuse.org/repositories/network:/utilities/) - and create the hashes:: - - metalink-hasher update -t /srv/metalink-hashes/ppc/srv/ftp/pub/opensuse/ppc /srv/ftp/pub/opensuse/ppc + (openSUSE/Debian/Ubuntu package called metalink, to be found at + http://download.opensuse.org/repositories/Apache:/MirrorBrain/) + + * you need to create a directory where to store the hashes. For instance, + :file:`/srv/metalink-hashes/srv/opensuse`. Note that the full pathname to + the filetree (``/srv/opensuse``) is part of this target path. + + Make the directory owned by the ``mirrorbrain`` user. + + * now, create the hashes with the following command. It is best run as + unprivileged user (``mirrorbrain``):: + + metalink-hasher update /srv/opensuse -t /srv/metalink-hashes/srv/opensuse + * add the hashing command to /etc/crontab to be run every few hours. Alternatively, run it after changes in the file tree happen. Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=7941&r1=7940&r2=7941&view=diff ============================================================================== --- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original) +++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Wed Jan 20 19:07:44 2010 _at_@ -1,5 +1,5 @@ /* - * Copyright 2007,2008,2009 Peter Poeml / Novell Inc. + * Copyright 2007,2008,2009,2010 Peter Poeml / Novell Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Jan 20 2010 - 18:07:51 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT