====== Source code ====== {{indexmenu_n>7}} 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: 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 - Download source code for nfdump and nfsen and unpack archives: 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 - Build and install nfdump: cd nfdump-1.6.9.2.CKAT ./configure --enable-scat --enable-nfprofile --prefix=/usr/bin make make install - Configure nfsen (or keep defaults) and install it: cd nfsen-1.3.6p1.2.CKAT vi etc/nfsen.conf ./install.pl etc/nfsen.conf - Enable nfsen start as a service. The example of init script for CentOS: etc/nfsen