This is a simple upstart script which can be used to start, stop and restart If this works, and there is data visible as in the screenshots, continue on to Use your web browser to navigate to There youĬan login with the username/password combo admin/admin. Ntopng and see how it works: ntopng /etc/ntopng/nf If the compilation gave no errors and the config files are places we can start Then there is the /etc/ntopng/nf file: -G=/var/run/ntopng.pidĪgain, with the ntopng - option you can see all the possible options for useīefore starting the test, make sure redis is started: /etc/init.d/redis-server restart To see all available interfaces and options, use the ntopng -h option: Available interfaces (-i ): Creating the ntopng config fileįirst we create the required folder: mkdir -p /etc/ntopng The default answers for checkinstall are okay. o blobs for third party tools, probably byĪccident, which will cause you trouble when building ntopng yourself. The compilation of ntopng itself is a bit more work, this is because the ntopngġ.1 package includes prebuilt. TheyĪre already good, the only thing we need to do is place them: cd /usr/local/src The data files contain files for the web interface like the GeoIP database. You can download it from sourceforge: mkdir -p /usr/local/src We need to download both the data files and the source code. These are the packages we need to build and use for ntopng apt-get install libpcap-dev libglib2.0-dev libgeoip-dev redis-server wget libxml2-dev build-essential checkinstall Tutorial with checkinstall, repeat the tutorial with only the version number If you for example want to upgrade ntop-ng when it was installed via this Furthermore, it makes it more clear for otherĪdministrators which software is installed. Upgrading or uninstalling the packages is easier than removing all I do this because it gives more flexibility in managing the softwareĪfterwards. We are using checkinstall here to create a debian package of the source weĬompile. (referral link) Note about checkinstall and packages This tutorial was tested on a DigitalOcean VPS. More information on ntop-ng can be found on their website:
0 Comments
Leave a Reply. |