/[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.6 Revision 1.7
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.6 2007/07/12 20:05:01 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.7 2007/09/20 18:49:40 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">
17 17
18<!-- The content of this document is licensed under the CC-BY-SA license --> 18<!-- The content of this document is licensed under the CC-BY-SA license -->
19<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 19<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20<license/> 20<license/>
21 21
22<version>1.2</version> 22<version>1.3</version>
23<date>2006-11-18</date> 23<date>2007-09-20</date>
24 24
25<chapter> 25<chapter>
26<title>Jffnms Basics</title> 26<title>Jffnms Basics</title>
27<section> 27<section>
28<title>Introduction</title> 28<title>Introduction</title>
186<path>/var/www/localhost/htdocs</path> as document root. So, you should do the 186<path>/var/www/localhost/htdocs</path> as document root. So, you should do the
187following: 187following:
188</p> 188</p>
189 189
190<pre caption="Creating Jffnms symlink"> 190<pre caption="Creating Jffnms symlink">
191# <i>cd /var/www/localhost/htdocs &amp;&amp; ln -s /opt/jffnms/htdocs</i> 191# <i>cd /var/www/localhost/htdocs &amp;&amp; ln -s /opt/jffnms/</i>
192</pre> 192</pre>
193 193
194</body> 194</body>
195</section> 195</section>
196<section> 196<section>
299<p> 299<p>
300Finally, you need to create all the tables where data will be stored: 300Finally, you need to create all the tables where data will be stored:
301</p> 301</p>
302 302
303<pre caption="Creating Jffnms database"> 303<pre caption="Creating Jffnms database">
304# <i>psql jffnms jffnms &lt; /opt/jffnms/docs/jffnms-0.8.2.pgsql</i> 304# <i>psql jffnms jffnms &lt; /opt/jffnms/docs/jffnms-0.8.3.pgsql</i>
305</pre> 305</pre>
306 306
307<p> 307<p>
308Once you have run those steps, PostgreSQL database configuration for Jffnms 308Once you have run those steps, PostgreSQL database configuration for Jffnms
309should be ok. 309should be ok.
319Installing and configuring a MySQL database is not covered in this guide. 319Installing and configuring a MySQL database is not covered in this guide.
320Please see our <uri link="/doc/en/mysql-howto.xml">MySQL Startup Guide</uri>. 320Please see our <uri link="/doc/en/mysql-howto.xml">MySQL Startup Guide</uri>.
321</warn> 321</warn>
322 322
323<p> 323<p>
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, you'll first need to create a
325provide two files to create database, user and tables for MySQL. 325database and a MySQL user. After that, create your MySQL table:
326</p>
327
328<note>
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
331is.
332</note>
333
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>
336</pre> 326</p>
337 327
338<pre caption="Create a mysql tables."> 328<pre caption="Create a mysql table.">
339# <i>mysql -u jffnms -pjffnms jffnms &lt; /opt/jffnms/docs/docs/jffnms-0.8.2.mysql</i> 329# <i>mysql -u jffnms -pjffnms jffnms &lt; /opt/jffnms/docs/jffnms-0.8.3.mysql</i>
340</pre> 330</pre>
341 331
342</body> 332</body>
343</section> 333</section>
344<section> 334<section>
392By now, Jffnms should be correctly installed on your system. You still need, 382By now, Jffnms should be correctly installed on your system. You still need,
393however, to configure Jffnms. Luckily, Jffnms provides us with an easy to use 383however, 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 384web 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 385well as check if the current host configuration suffices Jffnms needs. You can
396access this web interface through the following URL: 386access this web interface through the following URL:
397<uri>http://localhost/jffnms/admin/setup.php</uri>. You should visit <uri 387<uri>http://localhost/jffnms/admin/setup.php</uri>. You can login to your new
388installation by using the username and password <c>admin</c>. You should visit
398link="http://www.jffnms.org/">Jffnms's home page</uri> for details on how to 389<uri link="http://www.jffnms.org/">Jffnms's home page</uri> for details on how
399properly configure it. 390to properly configure it.
400</p> 391</p>
401 392
402 </body> 393 </body>
403</section> 394</section>
404</chapter> 395</chapter>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20