Install Nfsight, as modified from Steronius’ Computing Bits (follow me explicitly here): cd /usr/local/src sudo wget "http://sourceforge.net/projects/nfsight/files/latest/download" -O nfsight.tar.gz sudo tar xvzf nfsight.tar.gz cd nfsight-beta-20130323 sudo cp backend/nfsight.pm /var/nfsen/plugins/ sudo mkdir /var/www/html/nfsen/plugins/nfsight sudo chgrp -R www-data /var/www/nfsen/plugins/nfsight sudo mkdir /var/www/nfsen/nfsight sudo cp -R frontend/* /var/www/nfsen/nfsight/ sudo chgrp -R www-data /var/www/nfsen/nfsight/ sudo chmod g+w /var/www/nfsen/nfsight/ sudo chmod g+w /var/www/nfsen/plugins/nfsight/ sudo chmod g+w /var/www/nfsen/nfsight/cache sudo chmod g+x /var/www/nfsen/nfsight/bin/biflow2picviz.pl ++++++++++++++++++++++++++++++++++++++++++++ Create Nfsight database: Interchange the root user with an Nfsight database user if you’re worried about running the Nfsight db with root. mysql -u root –p and enter your MySql root password mysql> CREATE DATABASE nfsight mysql> GRANT ALL PRIVILEGES ON nfsight.* TO root@'%' IDENTIFIED BY ''; mysql> grant all privileges on nfsight.* TO root@localhost IDENTIFIED BY ''; mysql> GRANT ALL PRIVILEGES ON nfsight.* TO 'root'@'%' WITH GRANT OPTION; mysql> FLUSH PRIVILEGES; mysql> quit ++++++++++++++++++++++++++++++++++++++++++++ Launch the Nfsight web installer; on my server the path is: http://192.168.42.131/nfsen/nfsight/installer.php The proper paths for our installation are: URL = /nfsen/nfsight/ Path to data files = /var/www/nfsen/plugins/nfsight You may need to edit detail.php to ensure proper paths for grep, cat, and pcv. They should read as follows: /bin/grep /bin/cat /usr/bin/pcv Edit /var/nfsen/etc/nfsen.conf with settings from the Nfsight installer.php output as seen in Figure 3. FIGURE 3: http://holisticinfosec.org/toolsmith/files/nfsight/NfsightNfsenConfig.png ++++++++++++++++++++++++++++++++++++++++++++ Restart Nfsen: /var/nfsen/bin/nfsen stop /var/nfsen/bin/nfsen start Check status: /var/nfsen/bin/nfsen status Last step! Install the hourly cronjob required by Nfsight to periodically update the database: crontab -e 06 * * * * /usr/bin/wget --no-check-certificate -q -O - http://management:aggregate@127.0.0.1/nfsen/nfsight/aggregate.php