[mirrorbrain-commits] r7802 - /trunk/docs/installation/source.rst

From: <poeml_at_mirrorbrain.org>
Date: Mon, 28 Sep 2009 17:20:53 -0000
Author: poeml
Date: Mon Sep 28 19:20:52 2009
New Revision: 7802

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7802&view=rev
Log:
docs/install:
- simplify the example config by using "mirrorbrain" consistently as name for
  the database user as well as for the database. Since this matches the UNIX
  user that is created in the other examples, the PostgreSQL authentication is
  simplified too (because users can access databases named like their account,
  in most configurations)

Modified:
    trunk/docs/installation/source.rst

Modified: trunk/docs/installation/source.rst
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/source.rst?rev=7802&r1=7801&r2=7802&view=diff
==============================================================================
--- trunk/docs/installation/source.rst (original)
+++ trunk/docs/installation/source.rst Mon Sep 28 19:20:52 2009
@@ -4,7 +4,6 @@
 
 
 Install Apache 2.2.6 or later. 
-
 
 The main Apache module can be built with the following steps::
 
@@ -103,7 +102,7 @@
        su - postgres
        
        root_at_powerpc:~ # su - postgres
-       postgres_at_powerpc:~> createuser -P mb
+       postgres_at_powerpc:~> createuser -P mirrorbrain
        Enter password for new role: 
        Enter it again: 
        Shall the new role be a superuser? (y/n) n
@@ -111,9 +110,9 @@
        Shall the new role be allowed to create more new roles? (y/n) n
        CREATE ROLE
        
-       postgres_at_powerpc:~> createdb -O mb mb_samba
+       postgres_at_powerpc:~> createdb -O mirrorbrain mirrorbrain
        CREATE DATABASE
-       postgres_at_powerpc:~> createlang plpgsql mb_samba
+       postgres_at_powerpc:~> createlang plpgsql mirrorbrain
        postgres_at_powerpc:~> 
 
 
@@ -129,7 +128,7 @@
        # IPv6 local connections:
        host    all         all         ::1/128               password
        # remote connections:
-       host    mb_samba    mb          10.10.2.3/32          md5
+       host    mirrorbrain mirrorbrain 10.10.2.3/32          md5
 
        
       
@@ -146,8 +145,8 @@
 
   * 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
+       psql -U mirrorbrain -f sql/schema-postgresql.sql mirrorbrain
+       psql -U mirrorbrain -f sql/initialdata-postgresql.sql mirrorbrain
 
 
 * Create a user and group::
@@ -159,15 +158,15 @@
   should be 0640, ownership root:mirrorbrain::
 
     [general]
-    instances = samba
+    instances = main
   
-    [samba]
-    dbuser = mb
+    [main]
+    dbuser = mirrorbrain
     dbpass = 12345
     dbdriver = postgresql
     dbhost = your_host.example.com
     # optional: dbport = ...
-    dbname = mb_samba
+    dbname = mirrorbrain
     
 
 * Note: the "mb" tool referenced below is (for convenience) a symlink to the
@@ -247,7 +246,7 @@
       DBDriver pgsql
       # note that the connection string (which is passed straight through to
       # PGconnectdb in this case) looks slightly different - pass vs. password
-      DBDParams "host=localhost user=mb password=12345 dbname=mb_samba connect_timeout=15"
+      DBDParams "host=localhost user=mirrorbrain password=12345 dbname=mirrorbrain connect_timeout=15"
 
 
     .. note:: The database connection string must be unique per virtual host.
@@ -265,7 +264,7 @@
       <VirtualHost your.host.name:80>
           ServerName samba.mirrorbrain.org
       
-          ServerAdmin webmaster_at_mirrorbrain.org
+          ServerAdmin webmaster_at_example.org
       
           DocumentRoot /srv/samba/pub/projects
       




_______________________________________________
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 Sep 28 2009 - 17:20:54 GMT

This archive was generated by hypermail 2.2.0 : Mon Sep 28 2009 - 17:45:09 GMT