This is quick-and-dirty guide about how to build, install and set up NeTAMS.
Information in Russian goes below.

0. Please read the documentation first! NeTAMS is NOT FOR DUMMIES, do not expect 
to bring it up in three clicks!

1. Prerequisites. 
One should have gcc/g++ installed, and a number of libraries 
depending on your data-source/storage model. Brief outline follows:

Data-source-type:    Netflow   Libpcap   Divert_Socket  IPTABLES/ip_queue         
Linux                   +         +           n/a               + 
FreeBSD                 +         +            +               n/a
Solaris                 +         +           n/a              n/a

For netflow, no particular requirement exist
For Libpcap, please instal libpcap-devel for Linux (FreeBSD has one by default)
For FreeBSD and divert sockets, ensure that you have "options IPDIVERT" in your kernel config.
For Linux and IPQ, install iptables-devel and check you module with 'modprobe ip_queue'.

While UNIX hash, MySQL and PostresSQL are supported, it is better to use MySQL 4.0.x. 
Please check if you have libmysqlclient.so.12 properly installed.

2. Build.
Issue "make" command. Check if it compiles w/o errors. If you have an error during compile 
proceess, reasons could be missing libraries/header files AND/OR incorrectly set up Makefile.
To fix this, edit the first lines of confogure.sh script and add you paths. Then rebuild everything
with: "make distclean && make"

3. To install, copy src/netams, src/netamsctl and others to /usr/local/sbin (or any you prefer), 
sample config from addon/netams.conf to /usr/local/etc/, sample startup script from addon/ to  
/usr/local/etc/rc.d/. You can also try "make install".

4. (optional) Set up MySQL database server with proper access rights. Set up Apache to point to 
where you are planning to put your statistic stuff.

5. You don't have to create initial database and tables. Netams will do this itself.

6. Read the documentation again and prepare the configuration file. Try to start NeTAMS and see if it works.
http://www.netams.com/doc/

7. Read the documentation one again and improve your config to satisfy your requirements. Have fun!

==================================================================================================
         NeTAMS

0. ,   . NeTAMS   !  ,   
        .

1. . 
     gcc/g++    (    
 / ).   :

  :    Netflow   Libpcap   Divert_Socket  IPTABLES/ip_queue         
Linux                         +         +                          + 
FreeBSD                       +         +            +               
Solaris                       +         +                         

 netflow  -  
 Libpcap   libpcap-devel (),  FreeBSD     
 FreeBSD  divert sockets,    "options IPDIVERT"   
For Linux   IPQ,  iptables-devel      'modprobe ip_queue'.

  UNIX hash, MySQL  PostresSQL,   MySQL  4.0.x. 
   libmysqlclient.so.12 .

2. .
 "make". ,     .     
    ,    Makefile.   ,
    configure.sh      .    
   "make distclean && make"

3.    src/netams, src/netamsctl    /usr/local/sbin (  ), 
   addon/netams.conf  /usr/local/etc/,     addon/ 
/usr/local/etc/rc.d/.     "make install"

4. ()   MySQL    .  Apache,    
      . 

5.        .       Netams.

6.         .   NeTAMS 
 ,   ( )
http://www.netams.com/doc/

7.          . !

==================================================================================================
Authentication, authorization, accounting + firewalling package
Copyright 1998-2002 Anton Vinokurov <anton@netams.com>
Copyright 2002-2008 NeTAMS Development Team
This code is GPL v3
For latest version and more info, visit this project web page
located at http://www.netams.com

$Id: INSTALL,v 1.7 2008-02-23 08:35:05 anton Exp $
