Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


nfsen

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
Next revisionBoth sides next revision
nfsen [2014/06/16 13:26] – [Installation] adminnfsen [2014/06/16 13:58] admin
Line 18: Line 18:
   * Install rrdtool. <code>sudo yum install rrdtool rrdtool-devel</code>   * Install rrdtool. <code>sudo yum install rrdtool rrdtool-devel</code>
   * Install Apache, php and perl modules. <code>sudo yum install apache php perl-MailTools rrdtool-perl perl-Socket6</code>   * Install Apache, php and perl modules. <code>sudo yum install apache php perl-MailTools rrdtool-perl perl-Socket6</code>
 +  * Edit **/etc/php.ini**. Confgure date.timezone.
   * Create user netflow. <code>useradd netflow</code>   * Create user netflow. <code>useradd netflow</code>
   * Add user netflow to apache group. <code>sudo usermod -G apache netflow</code>   * Add user netflow to apache group. <code>sudo usermod -G apache netflow</code>
Line 57: Line 58:
   * Start apache at boot. <code>sudo chkconfig httpd on</code>   * Start apache at boot. <code>sudo chkconfig httpd on</code>
   * Start apache. <code>sudo service httpd start</code>   * Start apache. <code>sudo service httpd start</code>
-  * Create SELinux module <code>sudo yum install policycoreutils-python+  * Create SELinux module. **Important: Modules created with audit2allow may allow more access than required.** <code>sudo yum install policycoreutils-python
 setenforce 0 setenforce 0
 /opt/nfsen/bin/nfsen start /opt/nfsen/bin/nfsen start
Line 69: Line 70:
   * Start nfsen. <code>sudo /opt/nfsen/bin/nfsen start</code>   * Start nfsen. <code>sudo /opt/nfsen/bin/nfsen start</code>
   * To start NfSen at boot, add the start script to **/etc/rc.local**. Or create a nice start/stop init script.   * To start NfSen at boot, add the start script to **/etc/rc.local**. Or create a nice start/stop init script.
 +  * Access NfSen at http://server/nfsen/nfsen.php.
nfsen.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1