Re: Installation question - Mailing list pgsql-general

From Charles Hauser
Subject Re: Installation question
Date
Msg-id 1047336387.2330.76.camel@pandorina.biology.duke.edu
Whole thread Raw
In response to Re: Installation question  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Installation question  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
Richard,


>   Don't you want to use createuser instead?

Perhaps, first time install...........

./configure    -> ran OK
gmake        -> ran OK
su        -> I misunderstood and did NOT do this
gmake install    -> sudo gmake install  ran OK

So, I want to:
    - create a DB with me as owner

adduser postgres-> skip?

mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data

su - postgres    ->skip?

/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test


Charles


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Stuck at the starting gate
Next
From: Rich Shepard
Date:
Subject: Re: Stuck at the starting gate