nightmorph 08/03/18 04:30:57 Modified: jffnms.xml Log: updated for bug 186406, see comment 9
Revision Changes Path 1.9 xml/htdocs/doc/en/jffnms.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.9&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.9&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?r1=1.8&r2=1.9 Index: jffnms.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- jffnms.xml 11 Oct 2007 20:07:45 -0000 1.8 +++ jffnms.xml 18 Mar 2008 04:30:57 -0000 1.9 @@ -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.8 2007/10/11 20:07:45 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.9 2008/03/18 04:30:57 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.4</version> -<date>2007-10-11</date> +<version>1.5</version> +<date>2008-03-17</date> <chapter> <title>Jffnms Basics</title> @@ -251,8 +251,6 @@ <pre caption="Adding PostgreSQL to the default runlevel"> # <i>rc-update add postgresql default</i> - * postgresql added to runlevel default - * rc-update complete. </pre> <p> @@ -279,28 +277,22 @@ <p> Once you have your PostgreSQL set up and running, you have to create a Jffnms -user and a database to store host data. We provide files to do both. +user and a database to store host data. </p> -<note> -If you don't use <path>/usr/portage</path> as your Portage dir ($PORTDIR) you -have to change the last part of these commands to whatever your Portage dir -is. -</note> - -<pre caption="Creating Jffnms user"> -# <i>psql template1 postgres < /usr/portage/net-analyzer/jffnms/files/postgresql_db</i> -</pre> - -<pre caption="Creating Jffnms database"> -# <i>psql template1 postgres < /usr/portage/net-analyzer/jffnms/files/postgresql_db_table</i> +<pre caption="Creating the Jffnms user and database"> +# <i>psql template1 postgres</i> +template1=# <i>create user jffnms password 'jfnms' createdb;</i> +template1=# <i>\connect template1 jffnms</i> +template1=# <i>create database jffnms;</i> +template1=# <i>\q</i> </pre> <p> Finally, you need to create all the tables where data will be stored: </p> -<pre caption="Creating Jffnms database"> +<pre caption="Creating Jffnms tables"> # <i>psql jffnms jffnms < /opt/jffnms/docs/jffnms-0.8.3.pgsql</i> </pre> -- [email protected] mailing list
