Author: kwanghui Lim <lim_kwang_hui@yahoo.com>
----
Dear Moderator,
I sent the earlier comment (attached below).
pl note some changes are needed:
/usr/lib/postgresql/bin/createdb test
/usr/lib/postgresql/bin/psql test
I would appreciate if you could update those two lines.
Basically, on debian systems, the executable files are not stored in /usr/local/pgsql/bin but at
/usr/lib/postgresql/bin/instead.
Many Thanks
.kwang.
-----------message as presently posted online ------------------
http://www.postgresql.org/docs/7.4/interactive/installation.html
kwang <lim_kwang_hui AT yahoo.com>
06 Jan 2005 15:42:53
On Debian Systems, the "short version" of the setup above should use the following, including the different
directories.
to install the package
apt-get update
apt-get install postgresql
initialize the database system
su
su - postgres
/usr/lib/postgresql/bin/initdb -D /var/lib/postgres/data
/etc/init.d/postgresql start
that's it. once running, you can use it, e.g.
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
----
Manual page: http://wwwmaster.postgresql.org/docs/7.4/interactive/installation.html
Reject: http://wwwmaster.postgresql.org/admin/comments.php?action=reject&id=1976
Edit: http://wwwmaster.postgresql.org/admin/comment-edit.php?id=1976
Delete: http://wwwmaster.postgresql.org/admin/comments.php?action=delete&id=1976