From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GlV1T-0001Kl-KQ for garchives@archives.gentoo.org; Sat, 18 Nov 2006 18:34:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAIIYTp5007534; Sat, 18 Nov 2006 18:34:29 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAIIYSb2018623 for ; Sat, 18 Nov 2006 18:34:29 GMT Received: from lark (lark.gentoo.osuosl.org [140.211.166.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with SMTP id 16E0C6474D for ; Sat, 18 Nov 2006 18:34:28 +0000 (UTC) Received: by lark (sSMTP sendmail emulation); Sat, 18 Nov 2006 18:34:27 +0000 From: "Josh Saddler" Date: Sat, 18 Nov 2006 18:34:27 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: jffnms.xml Message-Id: <20061118183428.16E0C6474D@smtp.gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 7443d553-aea6-4dd7-ba29-27ddd96828ed X-Archives-Hash: 548e9ec8a0305f35cecc01404311f4ce nightmorph 06/11/18 18:34:27 Modified: jffnms.xml Log: updated jffnms howto for postgresql mojo, bug 128291 Revision Changes Path 1.4 xml/htdocs/doc/en/jffnms.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.4&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?r1=1.3&r2=1.4 Index: jffnms.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- jffnms.xml 25 Apr 2006 10:58:33 -0000 1.3 +++ jffnms.xml 18 Nov 2006 18:34:27 -0000 1.4 @@ -1,6 +1,6 @@ - + Jffnms Installation and Setup Guide @@ -19,8 +19,8 @@ -1.1 -2006-04-25 +1.2 +2006-11-18 Jffms Basics @@ -256,62 +256,15 @@

-Now, you must prepare PostgreSQL directories. This is done through the -initdb command. By default, PostgreSQL data directories are generally -stored in /var/lib/postgresql/data. +Now you must setup the PostgreSQL database.

- -The following command must be run with your PostgreSQL user. By default this -user is generally called "postgres". - - -
-# su - postgres
-$ initdb -D /var/lib/postgresql/data
-The files belonging to this database system will be owned by user "postgres".
-This user must also own the server process.
-
-The database cluster will be initialized with locale C.
-
-creating directory /var/lib/postgresql/data ... ok
-creating directory /var/lib/postgresql/data/global ... ok
-creating directory /var/lib/postgresql/data/pg_xlog ... ok
-creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
-creating directory /var/lib/postgresql/data/pg_clog ... ok
-creating directory /var/lib/postgresql/data/pg_subtrans ... ok
-creating directory /var/lib/postgresql/data/base ... ok
-creating directory /var/lib/postgresql/data/base/1 ... ok
-creating directory /var/lib/postgresql/data/pg_tblspc ... ok
-selecting default max_connections ... 100
-selecting default shared_buffers ... 1000
-creating configuration files ... ok
-creating template1 database in /var/lib/postgresql/data/base/1 ... ok
-initializing pg_shadow ... ok
-enabling unlimited row size for system tables ... ok
-initializing pg_depend ... ok
-creating system views ... ok
-loading pg_description ... ok
-creating conversions ... ok
-setting privileges on built-in objects ... ok
-creating information schema ... ok
-vacuuming database template1 ... ok
-copying template1 to template0 ... ok
-
-WARNING: enabling "trust" authentication for local connections
-You can change this by editing pg_hba.conf or using the -A option the
-next time you run initdb.
-
-Success. You can now start the database server using:
-
-    postmaster -D /var/lib/postgresql/data
-or
-    pg_ctl -D /var/lib/postgresql/data -l logfile start
+
+# emerge --config postgresql
 

-If initdb was successfully executed, you can go back to your root user and -start PostgreSQL. +Now start PostgreSQL:




-- 
gentoo-doc-cvs@gentoo.org mailing list