updates
[mir.git] / doc / INSTALL.postgresql
index 322ed98..7311d29 100755 (executable)
@@ -5,16 +5,26 @@ prerequisites:
 
 we installed postgres on machines with debian / kernel 2.2 / jdk 1.3 (blackdown),
 make sure you don't have postgresql installed via debian / apt-get. if you do
-purge the installation. the following things have to be down as superuser.
+purge the installation. 
 
+the following things have to be done as superuser (if not otherwise stated):
 
-1. get the tarball from postgresql.org
 
-2. unzip/untar the tarball
+1.  make sure you have:
+
+       libreadline-dev
+       perl-dev
+       ant >= 1.3
+       (blackdown) jdk1.3
+
+2.  get the tarball from postgresql.org
+    
+       tar xvfz postgresql-7.1.3.tar.gz
 
 3. configure
 
-./configure --enable-odbc --enable-syslog --with-perl --enable-multibyte=UNICODE --enable-locale --enable-unicode-conversion --enable-recode --with-java
+       ./configure --enable-odbc --enable-syslog --with-perl --enable-multibyte=UNICODE \
+                   --enable-locale --enable-unicode-conversion --enable-recode --with-java
 
 4. make
 
@@ -55,7 +65,7 @@ change to the start-scripts folder in the contrib-part.
    
        start) 
                $ECHO_N "Starting PostgreSQL: "$ECHO_C 
-               su - $PGUSER -c "$DAEMON start -o "-i" -D '$PGDATA' -s -l PGLOG" 
+               su - $PGUSER -c "$DAEMON start -o '-i' -D '$PGDATA' -s -l PGLOG" 
                echo "ok" 
                ;; 
 
@@ -74,4 +84,15 @@ change to the start-scripts folder in the contrib-part.
    /usr/local/pgsql/bin/createdb test
    /usr/local/pgsql/bin/psql test
 
+8a. Postgresql user
+
+       See INSTALL.mir for basic dealing with postgresql user.
+       Use 'createdb -U postgres' to create a Database. Create
+       tables with different User inside the Database.
+
+
+Fine! - now you can continue with the postgresql-section in INSTALL.mir
+Good luck.
+
+