Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: jffnms.xml
Date: Sat, 18 Nov 2006 18:34:40
Message-Id: 20061118183428.16E0C6474D@smtp.gentoo.org
1 nightmorph 06/11/18 18:34:27
2
3 Modified: jffnms.xml
4 Log:
5 updated jffnms howto for postgresql mojo, bug 128291
6
7 Revision Changes Path
8 1.4 xml/htdocs/doc/en/jffnms.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.4&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.4&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?r1=1.3&r2=1.4
13
14 Index: jffnms.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v
17 retrieving revision 1.3
18 retrieving revision 1.4
19 diff -u -r1.3 -r1.4
20 --- jffnms.xml 25 Apr 2006 10:58:33 -0000 1.3
21 +++ jffnms.xml 18 Nov 2006 18:34:27 -0000 1.4
22 @@ -1,6 +1,6 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.3 2006/04/25 10:58:33 neysx Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.4 2006/11/18 18:34:27 nightmorph Exp $ -->
27
28 <guide link="/doc/en/jffnms.xml" lang="en">
29 <title>Jffnms Installation and Setup Guide</title>
30 @@ -19,8 +19,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1.1</version>
35 -<date>2006-04-25</date>
36 +<version>1.2</version>
37 +<date>2006-11-18</date>
38
39 <chapter>
40 <title>Jffms Basics</title>
41 @@ -256,62 +256,15 @@
42 </pre>
43
44 <p>
45 -Now, you must prepare PostgreSQL directories. This is done through the
46 -<c>initdb</c> command. By default, PostgreSQL data directories are generally
47 -stored in <path>/var/lib/postgresql/data</path>.
48 +Now you must setup the PostgreSQL database.
49 </p>
50
51 -<impo>
52 -The following command must be run with your PostgreSQL user. By default this
53 -user is generally called "postgres".
54 -</impo>
55 -
56 -<pre caption="Preparing PostgreSQL Directories">
57 -# <i>su - postgres</i>
58 -$ <i>initdb -D /var/lib/postgresql/data</i>
59 -The files belonging to this database system will be owned by user "postgres".
60 -This user must also own the server process.
61 -
62 -The database cluster will be initialized with locale C.
63 -
64 -creating directory /var/lib/postgresql/data ... ok
65 -creating directory /var/lib/postgresql/data/global ... ok
66 -creating directory /var/lib/postgresql/data/pg_xlog ... ok
67 -creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
68 -creating directory /var/lib/postgresql/data/pg_clog ... ok
69 -creating directory /var/lib/postgresql/data/pg_subtrans ... ok
70 -creating directory /var/lib/postgresql/data/base ... ok
71 -creating directory /var/lib/postgresql/data/base/1 ... ok
72 -creating directory /var/lib/postgresql/data/pg_tblspc ... ok
73 -selecting default max_connections ... 100
74 -selecting default shared_buffers ... 1000
75 -creating configuration files ... ok
76 -creating template1 database in /var/lib/postgresql/data/base/1 ... ok
77 -initializing pg_shadow ... ok
78 -enabling unlimited row size for system tables ... ok
79 -initializing pg_depend ... ok
80 -creating system views ... ok
81 -loading pg_description ... ok
82 -creating conversions ... ok
83 -setting privileges on built-in objects ... ok
84 -creating information schema ... ok
85 -vacuuming database template1 ... ok
86 -copying template1 to template0 ... ok
87 -
88 -WARNING: enabling "trust" authentication for local connections
89 -You can change this by editing pg_hba.conf or using the -A option the
90 -next time you run initdb.
91 -
92 -Success. You can now start the database server using:
93 -
94 - postmaster -D /var/lib/postgresql/data
95 -or
96 - pg_ctl -D /var/lib/postgresql/data -l logfile start
97 +<pre caption="Preparing PostgreSQL">
98 +# <i>emerge --config postgresql</i>
99 </pre>
100
101 <p>
102 -If initdb was successfully executed, you can go back to your root user and
103 -start PostgreSQL.
104 +Now start PostgreSQL:
105 </p>
106
107 <pre caption="Starting PostgreSQL">
108
109
110
111 --
112 gentoo-doc-cvs@g.o mailing list