New install doc - Mailing list pgsql-hackers

From Vince Vielhaber
Subject New install doc
Date
Msg-id XFMail.000120181641.vev@michvhf.com
Whole thread Raw
Responses Re: [HACKERS] New install doc
List pgsql-hackers
2. If you are not upgrading an existing system then skip to .

skip to 4.

6. Install the program. Type
    $ gmake install

The installer needs to have write access to the install directory.

 8. Create the database installation. To do this you must log in to your    PostgreSQL superuser account. It will not
workas root.
 
    $ mkdir /usr/local/pgsql/data    $ chown postgres /usr/local/pgsql/data

I thought the data directory was created either in the gmake install step
or initdb.   Either way the chown might be better as:

# chown -R postgres:postgres /usr/local/pgsql

that should be the same on most systems with perhaps the exception of the
colon.  Anyway it'll make sure that all the files have the correct owners.


9. The previous step should have told you how to start up the database    server. Do so now.
    $ /usr/local/pgsql/initdb/postmaster -D /usr/local/pgsql/data

Shouldn't that be /usr/local/pgsql/bin/postmaster ??                                  ^^^


Outside of that, it looks great!!

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net  128K ISDN: $24.95/mo or less - 56K Dialup:
$17.95/moor less at Pop4       Online Campground Directory    http://www.camping-usa.com      Online Giftshop
Superstore   http://www.cloudninegifts.com
 
==========================================================================




pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: [HACKERS] A notice for too long names
Next
From: Tom Lane
Date:
Subject: Some notes on optimizer cost estimates