apt-get update && apt-get install lightsquid libcgi-session-perl
vim /etc/lightsquid/lightsquid.cfg
$logpath ="/var/log/squid
vim /etc/apache2/conf-available/lightsquid.conf
# add CGI permission and network range you allow to access from
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Require local
Require ip 10.0.0.0/24
a2enmod cgid
a2enconf lightsquid
systemctl restart apache2
/usr/share/lightsquid/lightparser.pl