[icinga-checkins] icinga.org: icinga-doc/master: libdbi / postgres fixes

git at icinga.org git at icinga.org
Tue Oct 27 07:17:19 CET 2009


Module: icinga-doc
Branch: master
Commit: 443830d116404c9f352c6462a10a5e2b5f272ada
URL:    https://git.icinga.org/?p=icinga-doc.git;a=commit;h=443830d116404c9f352c6462a10a5e2b5f272ada

Author: Wolfgang <wnd at gmx.net>
Date:   Mon Oct 26 21:04:24 2009 +0100

libdbi / postgres fixes

---

 de/quickstart-idoutils.xml |   19 ++++++++++++++-----
 en/quickstart-idoutils.xml |   19 ++++++++++++++-----
 2 files changed, 28 insertions(+), 10 deletions(-)

diff --git a/de/quickstart-idoutils.xml b/de/quickstart-idoutils.xml
index 8c917b3..9b8c8ea 100644
--- a/de/quickstart-idoutils.xml
+++ b/de/quickstart-idoutils.xml
@@ -132,7 +132,7 @@
 
   <para><emphasis role="bold">&name-mysql;:</emphasis></para>
 
-  <programlisting> # apt-get install mysql-server mysql-client mysql-libdbi0 libdbi0-dev libdbd-mysql</programlisting>
+  <programlisting> # apt-get install mysql-server mysql-client libdbi0 libdbi0-dev libdbd-mysql</programlisting>
 
   <para><emphasis role="bold">&name-postgres;:</emphasis></para>
 
@@ -291,10 +291,19 @@
 
   <programlisting> # vi /var/lib/pgsql/data/pg_hba.conf</programlisting>
 
-  <para>Editieren Sie die Konfiguration wie folgt (dem lokalen Benutzer muss vertraut werden)</para>
-
-  <programlisting> # icinga
- local icinga icingauser trust</programlisting>
+  <para>Editieren Sie die Konfiguration z.B. wie folgt (dem lokalen Benutzer muss vertraut werden)</para>
+
+  <programlisting> # database administrative login by UNIX sockets
+ local    all        postgres                  ident
+ # TYPE   DATABASE   USER       CIDR-ADDRESS   METHOD 
+ #icinga
+ local    icinga     icingauser                trust
+ # "local" is for Unix domain socket connections only
+ local    all        all                       trust
+ # IPv4 local connections
+ local    all        all        127.0.0.1/32   trust
+ # IPV6 local connections
+ local    all        all        ::1/128        trust</programlisting>
 
   <para>Neuladen und konfigurieren des Datenbankschemas</para>
 
diff --git a/en/quickstart-idoutils.xml b/en/quickstart-idoutils.xml
index 84b576d..6ce8924 100644
--- a/en/quickstart-idoutils.xml
+++ b/en/quickstart-idoutils.xml
@@ -126,7 +126,7 @@
 
   <para><emphasis>&name-mysql;:</emphasis></para>
 
-  <programlisting> # apt-get install mysql-server mysql-client mysql-libdbi0 libdbi0-dev libdbd-mysql</programlisting>
+  <programlisting> # apt-get install mysql-server mysql-client libdbi0 libdbi0-dev libdbd-mysql</programlisting>
 
   <para><emphasis>&name-postgres;:</emphasis></para>
 
@@ -283,10 +283,19 @@
 
   <programlisting> # vi /var/lib/pgsql/data/pg_hba.conf</programlisting>
 
-  <para>Edit the config as follows (local user must be trusted)</para>
-
-  <programlisting> #icinga
-  local icinga icingauser trust</programlisting>
+  <para>Edit the config e.g. like this (local user must be trusted)</para>
+
+  <programlisting> # database administrative login by UNIX sockets
+ local    all        postgres                  ident
+ # TYPE   DATABASE   USER       CIDR-ADDRESS   METHOD 
+ #icinga
+ local    icinga     icingauser                trust
+ # "local" is for Unix domain socket connections only
+ local    all        all                       trust
+ # IPv4 local connections
+ local    all        all        127.0.0.1/32   trust
+ # IPV6 local connections
+ local    all        all        ::1/128        trust</programlisting>
 
   <para>Reload and configure database scheme.</para>
 





More information about the icinga-checkins mailing list