Re: Configuration on CentOS 4.6 - Mailing list pgsql-novice

From Phillip Smith
Subject Re: Configuration on CentOS 4.6
Date
Msg-id 004a01c8a990$111e1cb0$9b0014ac@wbaus090
Whole thread Raw
In response to Configuration on CentOS 4.6  (Bruce Hyatt <brucejhyatt@yahoo.com>)
Responses Re: Configuration on CentOS 4.6
List pgsql-novice
> For example, there's no pg_hba.config and there's no directory /pgsql/data
anywhere to put one in.

You need to run initdb which will generate those files with default content.

I'm not sure where CentOS / RedHat puts them by default (I compile from
source) but at a guess:
/usr/local/postgres/bin/initdb -D /path/to/database/files/ databasename

Run that as the postgres user.
/path/to/database/files/ is where you want to put the files. It does not
need to exist already as initdb will create it. Depends how CentOS / RedHat
have setup the package, but it would possible default to
/usr/local/postgres/data/ I think.


THINK BEFORE YOU PRINT - Save paper if you don't really need to print this

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments
e-mail.

pgsql-novice by date:

Previous
From: Bruce Hyatt
Date:
Subject: Configuration on CentOS 4.6
Next
From: Bruce Hyatt
Date:
Subject: Re: Configuration on CentOS 4.6