Re: Installation question

From: Charles Hauser <chauser(at)duke(dot)edu>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: Hadley Willan <hadley(dot)willan(at)deeperdesign(dot)co(dot)nz>, Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installation question
Date: 2003-03-10 22:46:27
Message-ID: 1047336387.2330.76.camel@pandorina.biology.duke.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2003-03-10 22:47:47 Re: Stuck at the starting gate
Previous Message Tom Lane 2003-03-10 22:38:44 Re: Stuck at the starting gate