![[Important]](images/important.png) | Important |
---|
Before installing stop any other or older NetFlow collectors!
|
From the menu you can select what part you want installed.
In default all three parts are installed on same server.
-
Press 1 to install database tables. This step is only
used on the primary database server. Please enter license
owner and license key. In case you want to use a trial
version enter license key received by email. Trial version
expires after 30 days. License owner and/or key can be changed
via web interface. Now enter username and password for
access to primary MySQL database. In the default installation
of MySQL use username root and blank password. If the values
are correct, the installation script will try to create a new database
and all necessary tables. If you're doing an upgrade the old
configuration tables will be backed-up.
-
Press 2 to install web interface pages. Do this only
on the web server. Now enter hostname of primary database.
In default don't enter any value, because the primary database
is on the same machine as the web server. Next parameter to enter is
the database port number (the default value is empty). Next enter
the username and password, use the same username and password
as are configured in the primary database. Please, refer to MySQL
documentation
(http://www.mysql.org/doc)
to view how to create users or change passwords in MySQL database.
The script will now create a new configuration file for the web
part of NetFlow monitoring software and try to find the apache
configuration file. If successful, the script will include a
web part into the apache configuration and then restart
the web server. If unsuccessful, you must include the file
/etc/netflow/apache.conf
to your web server configuration manually.
-
Press 3 to install the collector. In case you want to
use more collector servers, repeat this step for all of
them. During the collector installation part, after entering database
parameters, you will see a list of configured
units. Each unit is a corresponding server on which you
can run one or more collectors. Enter the unit ID
on the installation computer. This unit ID is unique and can be used
by only one server! In other words, each server has unique unit ID.
If you want to use more servers as collectors, you must
enable MySQL networking option (see
MySQL documentation or
Appendix B, Frequently Asked Questions how to enable networking) before creating new units
via the web browser.
-
Press 4 to finish.
Run NetFlow collector process via command:
on all servers whose collectors can run. If nfcd process isn't running
see syslog for error messages or Appendix B, Frequently Asked Questions.