en:nfsen_src [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:nfsen_src [2015/04/05 11:06] – created translator1en:nfsen_src [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-In case your OS is not CentOS or the default installation does not meet your requirements, you can download and install nfdump and nfsen from the sources((This source code differs from the original one in support of protocol names and independent systems in reports.)). 
  
-  - Install the packets required to build and run nfsen: <code> 
-CentOS/RedHat/Oracle:  
-yum install gcc-c++,rrdtool-devel,perl-rrdtool,flex,perl-Socket6,perl-MailTools,httpd,php 
-Ubuntu:  
-apt-get install build-essential flex librrd-dev byacc librrds-perl libmailtools-perl libsocket6-perl  
-apt-get install apache2 php5 libapache2-mod-php5  
-</code>  
-  - Download source code for nfdump and nfsen and unpack archives: <code>wget http://vasexperts.ru/centos/6/x86_64/nfdump-1.6.9.2.CKAT.tar.gz 
-wget http://vasexperts.ru/centos/6/x86_64/nfsen-1.3.6p1.2.CKAT.tar.gz 
-tar xvzf nfdump-1.6.9.2.CKAT.tar.gz 
-tar xvzf nfsen-1.3.6p1.2.CKAT.tar.gz</code> 
-  - Build and install nfdump: <code>cd nfdump-1.6.9.2.CKAT 
-./configure --enable-scat --enable-nfprofile --prefix=/usr/bin 
-make 
-make install</code> 
-  - Configure nfsen (or keep defaults) and install it: <code>cd nfsen-1.3.6p1.2.CKAT 
-vi etc/nfsen.conf 
-./install.pl etc/nfsen.conf 
-</code>  
-  - Enable nfsen start as a service. The example of init script for CentOS: etc/nfsen