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

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_install [2023/09/12 09:41] – removed - external edit (Unknown date) 127.0.0.1en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_install [2024/09/26 15:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Installation ======
 +{{indexmenu_n>2}}
 +<note important>Dont't install NFSEN on the server with DPI platform: report generation is CPU resource intensive, so it may result in worsening of DPI platform performance</note>
  
 +  - Install the exact time service<code>yum install ntp -y
 +ntpdate pool.ntp.org
 +service ntpd start
 +chkconfig ntpd on</code>
 +  - Add the vasexperts repository <code>rpm --import http://vasexperts.ru/centos/RPM-GPG-KEY-vasexperts.ru
 +rpm -Uvh http://vasexperts.ru/centos/6/x86_64/vasexperts-repo-2-1.noarch.rpm</code>
 +  - Install NFSEN (Apache WEB server is installed along with NFSEN): <code>yum install nfsen</code>
 +  - Check that the service can be started: <code>service httpd start
 +service nfsen start</code>
 +  - Configure the service to start automatically on power on: <code>chkconfig httpd on
 +chkconfig nfsen on</code>
 +  - Open firewall ports to access Apache and to get netflow: <code>vi /etc/sysconfig/iptables
 +-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
 +-A INPUT -m state --state NEW -m udp -p udp --dport 9997 -j ACCEPT
 +-A INPUT -m state --state NEW -m udp -p udp --dport 9998 -j ACCEPT</code>
 +  - Switch off selinux ((Temporary solution))<code>setenforce 0
 +vi /etc/selinux/config
 +SELINUX=disabled</code>
 +  - Open the page <nowiki>http://hostname/nfsen/nfsen.php</nowiki> in your browser. Here hostname - is the name or address of nfsen server. Check that everything works fine.