LinuxInstallationCentOS - no need in quotes signs

This commit is contained in:
Pavel Lobashov 2016-11-24 11:33:51 +03:00
parent c721dc4903
commit 06df4f259d
2 changed files with 8 additions and 8 deletions

View File

@ -120,11 +120,11 @@ sudo chkconfig postgresql on
</code></pre>
<p><b>Turn on the 'trust' authentication method</b> for IPv4 and IPv6 localhost</p>
<p>Open the <code>/var/lib/pgsql/data/pg_hba.conf</code> file in a text editor.</p>
<p>Find the <code>"host all all 127.0.0.1/32 ident"</code> string and replace it with the following one:</p>
<pre><code>"host all all 127.0.0.1/32 trust"
<p>Find the <code>host all all 127.0.0.1/32 ident</code> string and replace it with the following one:</p>
<pre><code>host all all 127.0.0.1/32 trust
</code></pre>
<p>Then find the <code>"host all all ::1/128 ident"</code> string and replace it with the following one:</p>
<pre><code>"host all all ::1/128 trust"
<p>Then find the <code>host all all ::1/128 ident</code> string and replace it with the following one:</p>
<pre><code>host all all ::1/128 trust
</code></pre>
<p>Save the changes.</p>
<p><b>Restart the postgresql service</b>:</p>

View File

@ -120,11 +120,11 @@ sudo chkconfig postgresql on
</code></pre>
<p><b>Включите метод аутентификации 'trust'</b> для адреса localhost в формате IPv4 и IPv6</p>
<p>Откройте файл <code>/var/lib/pgsql/data/pg_hba.conf</code> в текстовом редакторе.</p>
<p>Найдите строку <code>"host all all 127.0.0.1/32 ident"</code> и замените ее на следующую:</p>
<pre><code>"host all all 127.0.0.1/32 trust"
<p>Найдите строку <code>host all all 127.0.0.1/32 ident</code> и замените ее на следующую:</p>
<pre><code>host all all 127.0.0.1/32 trust
</code></pre>
<p>Затем найдите строку <code>"host all all ::1/128 ident"</code> и замените ее на следующую:</p>
<pre><code>"host all all ::1/128 trust"
<p>Затем найдите строку <code>host all all ::1/128 ident</code> и замените ее на следующую:</p>
<pre><code>host all all ::1/128 trust
</code></pre>
<p>Сохраните изменения.</p>
<p><b>Перезапустите сервис postgresql</b>:</p>