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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.3 2006/04/25 10:58:33 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.4 2006/11/18 18:34:27 nightmorph Exp $ --> <guide link="/doc/en/jffnms.xml" lang="en"> <title>Jffnms Installation and Setup Guide</title> @@ -19,8 +19,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.1</version> -<date>2006-04-25</date> +<version>1.2</version> +<date>2006-11-18</date> <chapter> <title>Jffms Basics</title> @@ -256,62 +256,15 @@ </pre> <p> -Now, you must prepare PostgreSQL directories. This is done through the -<c>initdb</c> command. By default, PostgreSQL data directories are generally -stored in <path>/var/lib/postgresql/data</path>. +Now you must setup the PostgreSQL database. </p> -<impo> -The following command must be run with your PostgreSQL user. By default this -user is generally called "postgres". -</impo> - -<pre caption="Preparing PostgreSQL Directories"> -# <i>su - postgres</i> -$ <i>initdb -D /var/lib/postgresql/data</i> -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 +<pre caption="Preparing PostgreSQL"> +# <i>emerge --config postgresql</i> </pre> <p> -If initdb was successfully executed, you can go back to your root user and -start PostgreSQL. +Now start PostgreSQL: </p> <pre caption="Starting PostgreSQL"> -- [email protected] mailing list
