diff --git a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx index e9e01999b..1efc3f00b 100644 --- a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx +++ b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx @@ -120,11 +120,11 @@ sudo chkconfig postgresql on
Turn on the 'trust' authentication method for IPv4 and IPv6 localhost
Open the /var/lib/pgsql/data/pg_hba.conf
file in a text editor.
Find the "host all all 127.0.0.1/32 ident"
string and replace it with the following one:
"host all all 127.0.0.1/32 trust"
+ Find the host all all 127.0.0.1/32 ident
string and replace it with the following one:
+host all all 127.0.0.1/32 trust
- Then find the "host all all ::1/128 ident"
string and replace it with the following one:
-"host all all ::1/128 trust"
+ Then find the host all all ::1/128 ident
string and replace it with the following one:
+host all all ::1/128 trust
Save the changes.
Restart the postgresql service:
diff --git a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx
index fba887cd3..247244a89 100644
--- a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx
+++ b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx
@@ -120,11 +120,11 @@ sudo chkconfig postgresql on
Включите метод аутентификации 'trust' для адреса localhost в формате IPv4 и IPv6
Откройте файл /var/lib/pgsql/data/pg_hba.conf
в текстовом редакторе.
- Найдите строку "host all all 127.0.0.1/32 ident"
и замените ее на следующую:
-"host all all 127.0.0.1/32 trust"
+ Найдите строку host all all 127.0.0.1/32 ident
и замените ее на следующую:
+host all all 127.0.0.1/32 trust
- Затем найдите строку "host all all ::1/128 ident"
и замените ее на следующую:
-"host all all ::1/128 trust"
+ Затем найдите строку host all all ::1/128 ident
и замените ее на следующую:
+host all all ::1/128 trust
Сохраните изменения.
Перезапустите сервис postgresql: