mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 21:24:39 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1941 af4574ff-66df-0310-9fd7-8a98e5e911e0
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
<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>
|
|
|
|
<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>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|