Differences between revisions 1 and 2
Revision 1 as of 2007-06-05 13:21:18
Size: 65
Editor: ?ValentinHaenel
Comment: page setup
Revision 2 as of 2007-06-05 14:45:51
Size: 2557
Editor: ?ValentinHaenel
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

Just a brief guide for the webmin module for squidGuard.

''Note: this wiki is based on a Sarge Tjener, and Webmin Version 1.180''
Line 5: Line 9:
Apparently it is possible to setup squidGuard via Webmin. This section however deals with setting up the Webmin module after having installed SquidGuard and armed squid with it.

Go to webmin at:

{{{
https://tjener.intern:10000/
}}}

and login.

In the tab ''Webin'' select ''Webmin Configuration'' and then ''Webmin Modules''. You will now see a panel that allows you to install Modules. '''TODO: insert screenshot here.''' We will install the module ''From ftp or http URL'' so select the appropriate radio button. now insert:

{{{
http://www.niemueller.de/webmin/modules/squidguard/squidguard-0.91.2.wbm.gz
}}}

into the corresponding text field, and hit ''install module''. This '''should''' result in the following output:

{{{
Downloading http://www.niemueller.de/webmin/modules/squidguard/squidguard-0.91.2.wbm.gz (58458 bytes) ..
     Received 1024 bytes (1 %)
     Received 6144 bytes (10 %)
     Received 12288 bytes (21 %)
     Received 18432 bytes (31 %)
     Received 23552 bytes (40 %)
     Received 29696 bytes (50 %)
     Received 35840 bytes (61 %)
     Received 40960 bytes (70 %)
     Received 47104 bytes (80 %)
     Received 53248 bytes (91 %)
     Received 58458 bytes (100 %)
.. Download complete.
The following modules have been successfully installed and added to your access control list :

      SquidGuard in /usr/local/share/webmin/squidguard (520 kB) under category Servers
}}}

Theoretically you should now find the squid guard module in the ''Servers'' tab of webmin, however if you select ''Squid Guard'' you will receive the following error message:

{{{
Error - Perl execution failed

Undefined subroutine &main::init_config called at ./squidguard-lib.pl line 23.
Compilation failed in require at /usr/local/share/webmin/squidguard/index.cgi line 16.
}}}

The problem is that neither Debian Sarge nor Webmin are to be supported in the Future as they are deprecated. Please do not file a bugfix, but use the following workaround.


The installation directory of webmin is:

{{{
/usr/share/webmin
}}}

and the Squid Guard module has been installed into

{{{
/usr/local/share/webmin
}}}

so what we need to do is copy the squidguard directory into the correct location using:

{{{
cd /
cp -r /usr/local/share/webmin/squidguard /usr/share/webmin
}}}

Webmin Module for Squid Guard

Just a brief guide for the webmin module for squidGuard.

Note: this wiki is based on a Sarge Tjener, and Webmin Version 1.180

Setup

Apparently it is possible to setup squidGuard via Webmin. This section however deals with setting up the Webmin module after having installed ?SquidGuard and armed squid with it.

Go to webmin at:

https://tjener.intern:10000/

and login.

In the tab Webin select Webmin Configuration and then Webmin Modules. You will now see a panel that allows you to install Modules. TODO: insert screenshot here. We will install the module From ftp or http URL so select the appropriate radio button. now insert:

http://www.niemueller.de/webmin/modules/squidguard/squidguard-0.91.2.wbm.gz

into the corresponding text field, and hit install module. This should result in the following output:

Downloading http://www.niemueller.de/webmin/modules/squidguard/squidguard-0.91.2.wbm.gz (58458 bytes) ..
     Received 1024 bytes (1 %)
     Received 6144 bytes (10 %)
     Received 12288 bytes (21 %)
     Received 18432 bytes (31 %)
     Received 23552 bytes (40 %)
     Received 29696 bytes (50 %)
     Received 35840 bytes (61 %)
     Received 40960 bytes (70 %)
     Received 47104 bytes (80 %)
     Received 53248 bytes (91 %)
     Received 58458 bytes (100 %)
.. Download complete.
The following modules have been successfully installed and added to your access control list :

      SquidGuard in /usr/local/share/webmin/squidguard (520 kB) under category Servers

Theoretically you should now find the squid guard module in the Servers tab of webmin, however if you select Squid Guard you will receive the following error message:

Error - Perl execution failed

Undefined subroutine &main::init_config called at ./squidguard-lib.pl line 23.
Compilation failed in require at /usr/local/share/webmin/squidguard/index.cgi line 16.

The problem is that neither Debian Sarge nor Webmin are to be supported in the Future as they are deprecated. Please do not file a bugfix, but use the following workaround.

The installation directory of webmin is:

/usr/share/webmin

and the Squid Guard module has been installed into

/usr/local/share/webmin

so what we need to do is copy the squidguard directory into the correct location using:

cd /
cp -r /usr/local/share/webmin/squidguard /usr/share/webmin

Usage