2003-10-06 17:07:10 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>Postgre<acronym>SQL</acronym></application></title>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Config files</title>
|
|
|
|
|
|
|
|
<para><filename>$PGDATA/pg_ident.con</filename>, <filename>$PGDATA/pg_hba.conf</filename>, <filename>$PGDATA/postgresql.conf</filename></para>
|
|
|
|
|
|
|
|
<para>The <envar>PGDATA</envar> environment variable is used to distinguish database
|
|
|
|
clusters from one another by setting it to the value of the directory
|
|
|
|
which contains the cluster desired. The three configuration files
|
|
|
|
exist in every <filename class="directory">PGDATA/</filename> directory.
|
|
|
|
Details on the format of the files and the options that can be set in
|
|
|
|
each can be found in <ulink
|
|
|
|
url="file:///usr/share/doc/postgresql/html/index.html"/>.</para>
|
|
|
|
|
2004-03-28 09:46:42 +08:00
|
|
|
<para>Install <filename>/etc/rc.d/init.d/postgresql</filename>
|
|
|
|
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>make install-postgresql</command></userinput></screen>
|
2003-10-06 17:07:10 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|