X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2FINSTALL.postgresql;h=7311d29822060132db616ab465ec0b32f8b03c70;hb=569fea8be449ca269dcb203abf0cad0685999234;hp=322ed980aba49197ce72060b2fead68e63d9b78a;hpb=34f5036022cd36b0cf4d2292af6f6292ed3546ac;p=mir.git diff --git a/doc/INSTALL.postgresql b/doc/INSTALL.postgresql index 322ed980..7311d298 100755 --- a/doc/INSTALL.postgresql +++ b/doc/INSTALL.postgresql @@ -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. + +