[mirrorbrain-commits] [opensuse-svn] r6949 - trunk/tools/download-redirector-v2

From: Novell Forge SVN <noreply_at_novell.com>
Date: Sun, 29 Mar 2009 18:33:06 -0600 (MDT)
Author: poeml
Date: 2009-03-29 18:33:04 -0600 (Sun, 29 Mar 2009)
New Revision: 6949

Modified:
   trunk/tools/download-redirector-v2/INSTALL
Log:
INSTALL:
- a few things were added to the install documentation.


Modified: trunk/tools/download-redirector-v2/INSTALL
===================================================================
--- trunk/tools/download-redirector-v2/INSTALL	2009-03-30 00:13:08 UTC (rev 6948)
+++ trunk/tools/download-redirector-v2/INSTALL	2009-03-30 00:33:04 UTC (rev 6949)
_at_@ -4,9 +4,13 @@
 2. other needed components
 3. the database
 
-It requires a backend to work with, which can be found at
-https://forgesvn1.novell.com/svn/opensuse/trunk/tools/download-redirector-v2
 
+
+
+Install Apache 2.2.6 or later. For openSUSE/SLE, you'll find it here:
+http://download.opensuse.org/repositories/Apache/
+
+
 RPM packages are here:
 http://download.opensuse.org/repositories/Apache:/Modules/
 http://club.mandriva.com/xwiki/bin/view/rpms/Application/apache-mod_zrkadlo
_at_@ -24,9 +28,25 @@
 
 
 
+
+
+
+FIXME:
+At least for openSUSE, where packages exist, copy & paste directions could
+easily be given. For other distros as well, of course (contributions welcome!)
+
+copy & paste directions for openSUSE:
+===================
+FIXME
+...
+===================
+
+
+
 After installation of mod_mirrorbrain, you'll need to:
 
 
+
 - install GeoIP library, commandline tools, and geoip apache module
   (openSUSE/SLE packages: GeoIP, libGeoIP1, apache2-mod_geoip)
 
_at_@ -47,12 +67,14 @@
 - install the following Python modules:
       python-cmdln
       python-sqlobject
-      python-psycopg2 (when using PostgreSQL)
+      python-psycopg2
+  For openSUSE/SLE, these can be found here:
+      http://download.opensuse.org/repositories/devel:/languages:/python/
 
 - for the scanner, which is written in Perl, a few Perl modules are required:
       perl-libwww-perl
       perl-Digest-MD4 (it is not *really* needed, but prevents an ugly error message)
-      perl-DBD-Pg (when using PostgreSQL)
+      perl-DBD-Pg
 
 
 - configure the database to use with MirrorBrain, and continue with the respective
_at_@ -82,6 +104,7 @@
        
        postgres_at_powerpc:~> createdb -O mb mb_samba
        CREATE DATABASE
+       postgres_at_powerpc:~> createlang plpgsql mb_samba
        postgres_at_powerpc:~> 
 
 
_at_@ -105,7 +128,8 @@
 
        If the database will be large, reserve enough memory for it (mainly
        by setting shared_buffers), and in any case you should switch off
-       synchronous commit mode (synchronous_commit = off).
+       synchronous commit mode (synchronous_commit = off). This can be set in
+       data/postgresql.conf.
 
 
 
_at_@ -116,6 +140,9 @@
    - import table structure, and initial data:
        psql -U mb -f sql/schema-postgresql.sql mb_samba
        psql -U mb -f sql/initialdata-postgresql.sql mb_samba
+     (the sql directory can be found, on openSUSE, in
+     /usr/share/doc/packages/apache2-mod_mirrorbrain)
+
        
 
 - create a group and user to run the mirrorbrain tools under:
_at_@ -130,11 +157,11 @@
   instances = samba
 
   [samba]
-  dbuser = wwwrun
+  dbuser = mb
   dbpass = 12345
   dbdriver = postgresql
   dbhost = your_host.example.com
-  dbport = 3306
+  # optional: dbport = ...
   dbname = mb_samba
   
   [mirrorprobe]
_at_@ -143,6 +170,10 @@
   mailto = your_mail_at_example.com, another_mail_at_example.com
 
 
+- now you should be able to type 'mb list' without getting an error.
+  It'll produce no output, but exit with 0. If it gives an error, something is
+  wrong.
+
 - collect a list of mirrors (their HTTP baseurl, and their rsync or FTP baseurl
   for scanning). For example:
 
_at_@ -241,7 +272,7 @@
             MirrorBrainHandleHEADRequestLocally Off
             MirrorBrainMinSize 2048
             MirrorBrainHandleDirectoryIndexLocally On
-            MirrorBrainExcludeUserAgent rpm/4.4.2
+            MirrorBrainExcludeUserAgent rpm/4.4.2*
             MirrorBrainExcludeUserAgent *APT-HTTP*
             MirrorBrainExcludeMimeType application/pgp-keys
 

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
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.org
Received on Mon Mar 30 2009 - 00:34:03 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT