From 2b61e19bfc25b09d32c4c187d81a912c25888a14 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Thu, 19 Apr 2018 16:42:58 +0200 Subject: [PATCH 1/2] Update 02-getting-started.md createlang was removed with posgresql 10 --- doc/02-getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/02-getting-started.md b/doc/02-getting-started.md index 8177c6dcf..522cb3c1a 100644 --- a/doc/02-getting-started.md +++ b/doc/02-getting-started.md @@ -718,7 +718,7 @@ Set up a PostgreSQL database for Icinga 2: > **Note** > -> When using PostgreSQL 9.x you can omit the `createlang` command. +> When using PostgreSQL 9.x or higher, the `createlang` command can be omitted. > Also it is assumed here that your locale is set to utf-8, you may run into > problems otherwise. From 1f91b44788fd85d0cc58f3f46191ee14058c3496 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Thu, 19 Apr 2018 17:46:32 +0200 Subject: [PATCH 2/2] Update 02-getting-started.md Older versions which use createlang are not supported anzmore --- doc/02-getting-started.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/02-getting-started.md b/doc/02-getting-started.md index 522cb3c1a..682ae30b1 100644 --- a/doc/02-getting-started.md +++ b/doc/02-getting-started.md @@ -714,13 +714,10 @@ Set up a PostgreSQL database for Icinga 2: # cd /tmp # sudo -u postgres psql -c "CREATE ROLE icinga WITH LOGIN PASSWORD 'icinga'" # sudo -u postgres createdb -O icinga -E UTF8 icinga - # sudo -u postgres createlang plpgsql icinga > **Note** > -> When using PostgreSQL 9.x or higher, the `createlang` command can be omitted. -> Also it is assumed here that your locale is set to utf-8, you may run into -> problems otherwise. +> It is assumed here that your locale is set to utf-8, you may run into problems otherwise. Locate your pg\_hba.conf (Debian: `/etc/postgresql/*/main/pg_hba.conf`, RHEL/SUSE: `/var/lib/pgsql/data/pg_hba.conf`), add the icinga user with md5