Merge lp:~evarlast/serverguide/postgresql91 into lp:~ubuntu-core-doc/serverguide/quantal

Proposed by Jay R. Wren on 2012-07-25
Status: Merged
Merged at revision: 83
Proposed branch: lp:~evarlast/serverguide/postgresql91
Merge into: lp:~ubuntu-core-doc/serverguide/quantal
Diff against target: 91 lines (+13/-13)
2 files modified
serverguide/C/databases.xml (+12/-12)
serverguide/C/web-servers.xml (+1/-1)
To merge this branch: bzr merge lp:~evarlast/serverguide/postgresql91
Reviewer Review Type Date Requested Status
Jeremy Bicha (community) 2012-07-25 Approve on 2012-09-19
Review via email: mp+116710@code.launchpad.net
To post a comment you must log in.
85. By Jay R. Wren on 2012-07-25

i missed a few 8.4 to 9.1 changes in the doc section. oops.

Jeremy Bicha (jbicha) wrote :

Thanks you for helping to make the docs better!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'serverguide/C/databases.xml'
2--- serverguide/C/databases.xml 2012-04-06 20:16:46 +0000
3+++ serverguide/C/databases.xml 2012-07-25 17:37:19 +0000
4@@ -324,25 +324,25 @@
5 <para>By default, connection via TCP/IP is disabled.
6 PostgreSQL supports multiple client authentication methods.
7 IDENT authentication method is used for <application>postgres</application> and local users, unless otherwise configured.
8- Please refer <ulink url="http://www.postgresql.org/docs/8.4/static/admin.html">
9+ Please refer <ulink url="http://www.postgresql.org/docs/9.1/static/admin.html">
10 the PostgreSQL Administrator's Guide if you would like to configure alternatives like Kerberos</ulink>.
11 </para>
12 <para>The following discussion assumes that you wish to enable
13 TCP/IP connections and use the MD5 method for client
14 authentication. PostgreSQL configuration files are stored in the
15 <filename>/etc/postgresql/&lt;version&gt;/main</filename>
16- directory. For example, if you install PostgreSQL 8.4, the
17+ directory. For example, if you install PostgreSQL 9.1, the
18 configuration files are stored in the
19- <filename>/etc/postgresql/8.4/main</filename> directory.
20+ <filename>/etc/postgresql/9.1/main</filename> directory.
21 </para>
22 <tip>
23 <para>
24 To configure <emphasis>ident</emphasis>
25- authentication, add entries to the <filename>/etc/postgresql/8.4/main/pg_ident.conf</filename>
26+ authentication, add entries to the <filename>/etc/postgresql/9.1/main/pg_ident.conf</filename>
27 file. There are detailed comments in the file to guide you.
28 </para>
29 </tip>
30- <para>To enable TCP/IP connections, edit the file <filename>/etc/postgresql/8.4/main/postgresql.conf</filename></para>
31+ <para>To enable TCP/IP connections, edit the file <filename>/etc/postgresql/9.1/main/postgresql.conf</filename></para>
32 <para>
33 Locate the line <emphasis>#listen_addresses = 'localhost'</emphasis> and change it to:
34 </para>
35@@ -381,7 +381,7 @@
36 </screen>
37 <para>
38 After configuring the password, edit the file
39- <filename>/etc/postgresql/8.4/main/pg_hba.conf</filename> to use
40+ <filename>/etc/postgresql/9.1/main/pg_hba.conf</filename> to use
41 <emphasis>MD5</emphasis> authentication with the <emphasis>postgres</emphasis> user:
42 </para>
43
44@@ -395,12 +395,12 @@
45 restart <application>PostgreSQL</application>:
46 </para>
47 <screen>
48-<command>sudo /etc/init.d/postgresql-8.4 restart</command>
49+<command>sudo service postgresql restart</command>
50 </screen>
51 <warning>
52 <para>
53 The above configuration is not complete by any means. Please
54- refer <ulink url="http://www.postgresql.org/docs/8.4/static/admin.html">
55+ refer <ulink url="http://www.postgresql.org/docs/9.1/static/admin.html">
56 the PostgreSQL Administrator's Guide</ulink> to configure more parameters.
57 </para>
58 </warning>
59@@ -410,15 +410,15 @@
60 <itemizedlist>
61 <listitem>
62 <para>
63- As mentioned above the <ulink url="http://www.postgresql.org/docs/8.4/static/admin.html">Administrator's Guide</ulink>
64- is an excellent resource. The guide is also available in the <application>postgresql-doc-8.4</application> package.
65+ As mentioned above the <ulink url="http://www.postgresql.org/docs/9.1/static/admin.html">Administrator's Guide</ulink>
66+ is an excellent resource. The guide is also available in the <application>postgresql-doc-9.1</application> package.
67 Execute the following in a terminal to install the package:
68 </para>
69 <screen>
70-<command>sudo apt-get install postgresql-doc-8.4</command>
71+<command>sudo apt-get install postgresql-doc-9.1</command>
72 </screen>
73 <para>
74- To view the guide enter <command>file:///usr/share/doc/postgresql-doc-8.4/html/index.html</command> into the address
75+ To view the guide enter <command>file:///usr/share/doc/postgresql-doc-9.1/html/index.html</command> into the address
76 bar of your browser.
77 </para>
78 </listitem>
79
80=== modified file 'serverguide/C/web-servers.xml'
81--- serverguide/C/web-servers.xml 2012-04-06 20:16:46 +0000
82+++ serverguide/C/web-servers.xml 2012-07-25 17:37:19 +0000
83@@ -904,7 +904,7 @@
84 <para>
85 Using the excellent access control features of Squid, you may configure use of Internet services proxied by Squid
86 to be available only during normal business hours. For example, we'll illustrate access by employees of a business
87- which is operating between 9:00AM and 5:00PM, Monday through Friday, and which uses the 10.1.42.0/42 subnetwork:
88+ which is operating between 9:00AM and 5:00PM, Monday through Friday, and which uses the 10.1.42.0/24 subnetwork:
89 </para>
90 <para>
91 Add the following to the <emphasis role="bold">bottom</emphasis> of the ACL section of your <filename>/etc/squid/squid.conf</filename> file:

Subscribers

People subscribed via source and target branches