On the test, I install the Netlist module for ABillS in Ubuntu Server.
We import the tables into the database:
mysql -D abills --default-character-set=utf8 < /usr/abills/db/Netlist.sql
Open the billing configuration file:
nano /usr/abills/libexec/config.pl
Make sure that the module is activated:
@MODULES = ( 'Netlist' );
Install nmap and Perl module for it:
sudo apt-get install nmap sudo cpanm Nmap::Parser
Let’s see where nmap is located:
which nmap
Open the billing configuration file again:
sudo nano /usr/abills/libexec/config.pl
Let’s specify the path to nmap:
$conf{'NMAP_LOCATION'}="/usr/bin/nmap";
Add to sudoers:
echo 'www-data ALL=(ALL) NOPASSWD: /usr/bin/nmap' >> /etc/sudoers.d/abills_sudoers
After installation, the module will be available in the menu /Settings/Netlist