BIND 10 master, updated. bc97e4255c17c34adc9d7e7f87201133a6c32df1 [master] Corrected typos in bind10-guide for Postgresql setup
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Apr 4 10:22:24 UTC 2014
The branch, master has been updated
via bc97e4255c17c34adc9d7e7f87201133a6c32df1 (commit)
from 0ba3a23277d023da3d690875f9d95867f5cc0df4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bc97e4255c17c34adc9d7e7f87201133a6c32df1
Author: Thomas Markwalder <tmark at isc.org>
Date: Fri Apr 4 06:21:05 2014 -0400
[master] Corrected typos in bind10-guide for Postgresql setup
-----------------------------------------------------------------------
Summary of changes:
doc/guide/bind10-guide.xml | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
-----------------------------------------------------------------------
diff --git a/doc/guide/bind10-guide.xml b/doc/guide/bind10-guide.xml
index c59ac29..a92bf71 100644
--- a/doc/guide/bind10-guide.xml
+++ b/doc/guide/bind10-guide.xml
@@ -3660,16 +3660,23 @@ postgres=#</screen>
</para>
<para>
2. Create the database:
- <screen>postgres=# <userinput>CREATE DATABASE <replaceable>database-name</replaceable>;</userinput></screen>
+<screen>
+postgres=#<userinput> CREATE DATABASE <replaceable>database-name</replaceable>;</userinput>
+CREATE DATABASE
+postgres=#
+</screen>
... <replaceable>database-name</replaceable> is the name you have chosen for the database.
</para>
-
<para>
3. Create the user under which Kea will access the database (and give it a password), then grant it access to the database:
- <screen>postgres=# <userinput>CREATE USER <replaceable>user-name</replaceable> WITH PASSWORD <replaceable>password</replaceable>;</userinput>
-postgres=#> <userinput>GRANT ALL PRIVILEGES ON DATABASE <replaceable>database-name</replaceable> TO <replaceable>user-name</replaceable>;</userinput></screen>
+<screen>postgres=#<userinput> CREATE USER <replaceable>user-name</replaceable> WITH PASSWORD '<replaceable>password</replaceable>';</userinput>
+CREATE ROLE
+postgres=#
+postgres=#<userinput> GRANT ALL PRIVILEGES ON DATABASE <replaceable>database-name</replaceable> TO <replaceable>user-name</replaceable>;</userinput>
+GRANT
+postgres=#
+</screen>
</para>
-
<para>
4. Exit PostgreSQL:
<screen>postgres=# <userinput>\q</userinput>
@@ -3681,7 +3688,7 @@ $</screen>
After entering the following command, you will be prompted for the new
user's password. When the command completes you will be returned to
the shell prompt. You should see output similiar to following:
-<screen>$ <userinput>psql -d <replaceable>database-name</replaceable> -U <replaceable>user-name</replaceable> -f <replaceable>path-to-bind10</replaceable>/share/bind10/dhcpdb_create.pgsql;</userinput>
+<screen>$ <userinput>psql -d <replaceable>database-name</replaceable> -U <replaceable>user-name</replaceable> -f <replaceable>path-to-bind10</replaceable>/share/bind10/dhcpdb_create.pgsql</userinput>
Password for user <replaceable>user-name</replaceable>:
CREATE TABLE
CREATE INDEX
@@ -3715,7 +3722,9 @@ psql: FATAL: no pg_hba.conf entry for host "[local]", user "<replaceable>user-n
server. The precise path may vary but the default location for Postgres 9.3
on Centos 6.5 is:
<filename>/var/lib/pgsql/9.3/data/pg_hba.conf</filename>.
- Adding lines similiar to following should be sufficient:
+ Assuming Kea is running on the same host as Postgresql, adding lines similiar
+ to following should be sufficient to provide password-authenticated access to
+ Kea's database:
</para>
<screen>
local <replaceable>database-name</replaceable> <replaceable>user-name</replaceable> password
More information about the bind10-changes
mailing list