added local access configuration to pg_hba.conf setup instructions
This commit is contained in:
parent
9c65ccebcf
commit
f5fbb92ce2
1 changed files with 6 additions and 4 deletions
|
@ -13,7 +13,7 @@ Development Loan Fund</a>, under the GNU <a
|
|||
href="http://www.gnu.org/licenses/gpl.html">GPL</a>.<br>
|
||||
<ul>
|
||||
<li>Author: $Author: fgerlits $</li>
|
||||
<li>Version: $Revision: 1.13 $</li>
|
||||
<li>Version: $Revision: 1.14 $</li>
|
||||
<li>Location: $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/doc/install.html,v $</li>
|
||||
</ul>
|
||||
<h1>Scope</h1>
|
||||
|
@ -134,10 +134,12 @@ to following line:<br>
|
|||
<pre><code>tcpip_socket = true</code></pre>
|
||||
<br>
|
||||
and also edit <code>pg_hba.conf</code> (usually <code>/var/lib/postgres/data/pg_hba.conf</code>)
|
||||
to include the following line, before any other lines related to access
|
||||
through localhost:<br>
|
||||
to include the following three lines, before any other 'host' or 'local'
|
||||
lines:<br>
|
||||
<br>
|
||||
<pre><code>host all all 127.0.0.1 255.255.255.255 password<br><br></code></pre>
|
||||
<pre><code>host all all 127.0.0.1 255.255.255.255 password<br>
|
||||
local all postgres ident sameuser<br>
|
||||
local all all password<br><br></code></pre>
|
||||
These changes will make sure that the PostgreSQL database is accessible
|
||||
via TCP/IP from localhost.<br>
|
||||
<h2>Web server</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue