Telepítés: #
curl -Lo lightsquid-endian3-2.0-1.x86_64.rpm https://github.com/leandroscardua/endian_lightsquid/blob/master/lightsquid-endian3-2.0-1.x86_64.rpm?raw=true rpm -Uvh lightsquid-endian3-2.0-1.x86_64.rpm
Jelszó beállítás: #
/usr/local/bin/lightsquid-password.sh
https://YOURENDIANGREENIP:10443/lightsquid
CRON beállítás #
cp /etc/cron.daily/lightsquid /etc/cron.hourly/
Hitelesítés beállítás #
vi /var/www/lightsquid/ip2name/ip2name.simple
#contributor: esl
#do nothing
#simple version
sub StartIp2Name() {
}
sub Ip2Name($$$) {
# $Lhost,$user,$Ltimestamp
my $Lhost=shift;
my $user =shift;
return $user."-".$Lhost if ($user ne "-"); #return user if defined !!!!!
return $Lhost;
}
sub StopIp2Name() {
}
#warning !!!
1;