Обсуждение: Comment #1976 was deleted by justin

Поиск
Список
Период
Сортировка

Comment #1976 was deleted by justin

От
nobody
Дата:
Author: kwanghui Lim <lim_kwang_hui@yahoo.com>
Page:   7.4/installation.html
----
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