Make sure you have created the /srv/http/cgi-bin6 directory (or whatever you have chosen) before attempting to build ipscan. Then make sure your MySQL database is created following the instructions in the github repository. You will need to login to mysql using the root password you previously defined (above):
+
Make sure you have created the /srv/http/cgi-bin6 directory (or whatever you have chosen) before attempting to build ipscan. Also make sure that your MySQL database is created following the instructions in the github repository. You will need to login to mysql using the root password you previously defined (above):
# mysql -u root -p
# mysql -u root -p
Line 330:
Line 330:
# pacman -S perl-dbi-mysql perl-mysql
# pacman -S perl-dbi-mysql perl-mysql
−
Then ensure that the script runs standalone without any perl errors:
+
Then modify the MySQL related entries in the sqltidy.pl script to match your chosen user, password, etc. and then ensure that the script runs standalone without any perl errors:
# /root/ipscan/sqltidy.pl
# /root/ipscan/sqltidy.pl
Line 338:
Line 338:
# crontab -e
# crontab -e
−
You may wish to move sqltidy.pl to another location, but ensure it's permissions prevent ordinary users from reading or executing the file:
+
You may wish to move sqltidy.pl to another location, but ensure its permissions prevent ordinary users from reading or executing the file: