Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_src:start [2023/09/12 09:41] – ↷ Page moved from en:dpi:dpi_components:nfsen:nfsen_src:start to en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_src:start elena.krasnobryzh | en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_src:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Source code ====== | ||
- | {{indexmenu_n> | ||
- | In case your OS is not CentOS or the default installation does not meet your requirements, | ||
- | |||
- | - Install the packets required to build and run nfsen: < | ||
- | CentOS/ | ||
- | yum install gcc-c++, | ||
- | 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:// | ||
- | tar xvzf nfdump-1.6.9.2.CKAT.tar.gz | ||
- | tar xvzf nfsen-1.3.6p1.2.CKAT.tar.gz</ | ||
- | - Build and install nfdump: < | ||
- | ./configure --enable-scat --enable-nfprofile --prefix=/ | ||
- | make | ||
- | make install</ | ||
- | - Configure nfsen (or keep defaults) and install it: < | ||
- | vi etc/ | ||
- | ./ | ||
- | </ | ||
- | - Enable nfsen start as a service. The example of init script for CentOS: etc/nfsen | ||