/[gentoo]/xml/htdocs/doc/en/jffnms.xml
Gentoo

Diff of /xml/htdocs/doc/en/jffnms.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.4 2006/11/18 18:34:27 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.5 2007/07/09 08:35:04 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/jffnms.xml" lang="en"> 5<guide link="/doc/en/jffnms.xml" lang="en">
6<title>Jffnms Installation and Setup Guide</title> 6<title>Jffnms Installation and Setup Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
21 21
22<version>1.2</version> 22<version>1.2</version>
23<date>2006-11-18</date> 23<date>2006-11-18</date>
24 24
25<chapter> 25<chapter>
26<title>Jffms Basics</title> 26<title>Jffnms Basics</title>
27<section> 27<section>
28<title>Introduction</title> 28<title>Introduction</title>
29<body> 29<body>
30 30
31<p> 31<p>
64 <ti>Uses PostgreSQL to store Jffnms data</ti> 64 <ti>Uses PostgreSQL to store Jffnms data</ti>
65</tr> 65</tr>
66<tr> 66<tr>
67 <ti><c>snmp</c></ti> 67 <ti><c>snmp</c></ti>
68 <ti> 68 <ti>
69 Adds suport for snmp, which enables jffms to gather data from other hosts. 69 Adds suport for snmp, which enables jffnms to gather data from other hosts.
70 </ti> 70 </ti>
71</tr> 71</tr>
72</table> 72</table>
73 73
74</body> 74</body>
76<section> 76<section>
77<title>USE Flags for PHP</title> 77<title>USE Flags for PHP</title>
78<body> 78<body>
79 79
80<p> 80<p>
81Being written in PHP, Jffnms is heavily dependent on php USE Flags. In order 81Being written in PHP, Jffnms is heavily dependent on php USE Flags. In order to
82to install Jffnms successfully, it is required that you have your php package 82install Jffnms successfully, you are required to have your php package installed
83installed with (at least) the following USE flags: 83with (at least) the following USE flags:
84</p> 84</p>
85 85
86<table> 86<table>
87<tr> 87<tr>
88 <th>USE Flags for PHP</th> 88 <th>USE Flags for PHP</th>
197<title>Configuring PHP</title> 197<title>Configuring PHP</title>
198<body> 198<body>
199 199
200<p> 200<p>
201Now that apache is running, it is time to configure PHP. Jffnms requires that 201Now that apache is running, it is time to configure PHP. Jffnms requires that
202you set some variables in php.ini in order to run. The php.ini file is usually 202you set some variables in php.ini in order to run. The <path>php.ini</path> file
203located in <path>/etc/php/apache2-php4/php.ini</path>. You have to set these 203is usually located in <path>/etc/php/apache2-php4/php.ini</path>. You have to
204variables to the following values: 204set these variables to the following values:
205</p> 205</p>
206 206
207<pre caption="Configuring PHP"> 207<pre caption="Configuring PHP">
208# <i>nano -w /etc/php/apache2-php4/php.ini</i> 208# <i>nano -w /etc/php/apache2-php4/php.ini</i>
209register_globals = On 209register_globals = On
281Once you have your PostgreSQL set up and running, you have to create a Jffnms 281Once you have your PostgreSQL set up and running, you have to create a Jffnms
282user and a database to store host data. We provide files to do both. 282user and a database to store host data. We provide files to do both.
283</p> 283</p>
284 284
285<note> 285<note>
286If you don't use <path>/usr/portage</path> as your portage dir ($PORTDIR) you 286If you don't use <path>/usr/portage</path> as your Portage dir ($PORTDIR) you
287have to change the last part of these commands to whatever your portage dir 287have to change the last part of these commands to whatever your Portage dir
288is. 288is.
289</note> 289</note>
290 290
291<pre caption="Creating Jffnms user"> 291<pre caption="Creating Jffnms user">
292# <i>psql template1 postgres &lt; /usr/portage/net-analyzer/jffnms/files/postgresql_db</i> 292# <i>psql template1 postgres &lt; /usr/portage/net-analyzer/jffnms/files/postgresql_db</i>
324In case you want to run Jffnms with MySQL, the process is a bit simpler. We 324In case you want to run Jffnms with MySQL, the process is a bit simpler. We
325provide two files to create database, user and tables for MySQL. 325provide two files to create database, user and tables for MySQL.
326</p> 326</p>
327 327
328<note> 328<note>
329If you don't use <path>/usr/portage</path> as your portage dir ($PORTDIR) you 329If you don't use <path>/usr/portage</path> as your Portage dir ($PORTDIR) you
330have to change the last part of these commands to whatever your portage dir 330have to change the last part of these commands to whatever your Portage dir
331is. 331is.
332</note> 332</note>
333 333
334<pre caption="Create a database and a mysql user."> 334<pre caption="Create a database and a mysql user.">
335# <i>mysql -u <comment>username</comment> -p <comment>password</comment> &lt; /usr/portage/net-analyzer/jffnms/files/mysql_db</i> 335# <i>mysql -u <comment>username</comment> -p <comment>password</comment> &lt; /usr/portage/net-analyzer/jffnms/files/mysql_db</i>
388<title>Final Setup</title> 388<title>Final Setup</title>
389<body> 389<body>
390 390
391<p> 391<p>
392By now, Jffnms should be correctly installed on your system. You still need, 392By now, Jffnms should be correctly installed on your system. You still need,
393however, to configure Jffms. Luckily, Jffnms provides us with an easy to use 393however, to configure Jffnms. Luckily, Jffnms provides us with an easy to use
394web page where it's possible to configure access to database, user access as 394web page where it's possible to configure access to database, user access as
395well as check if the current host configuration suffices Jffnms needs. You can 395well as check if the current host configuration suffices Jffnms needs. You can
396access this web interface through the following URL: 396access this web interface through the following URL:
397<uri>http://localhost/jffnms/admin/setup.php</uri>. You should visit <uri 397<uri>http://localhost/jffnms/admin/setup.php</uri>. You should visit <uri
398link="http://www.jffnms.org/">Jffnms's home page</uri> for details on how to 398link="http://www.jffnms.org/">Jffnms's home page</uri> for details on how to

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20