Squid:SquidGuard:Installation

From K12LTSP Wiki

Jump to: navigation, search

squidGuard is included with K12LTSP, but it is not installed and enabled by default.

  • If you are doing a fresh install, select the "Web Server" option and squidGuard will be installed
  • If you have already completed an install, you can run "redhat-config-packages" and select the "Web Server" group

After installing the packages, you can activate squidGuard by adding the following line to the squid configuration file (/etc/squid/squid.conf):

     redirect_program /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf

and restart squid:

     /sbin/service squid restart
     /sbin/chkconfig squid on

For K12LTSP 3.1.0

You must select the extra options squid and squidGuard in the "Web Server" group. The rpms that are installed are:

Perl-DB_file
squid
squidGuard

After installing the packages: If you didn't define a fully qualified domain name for the server, make an entry in /etc/squid/squid-squidguard.conf:

    visible_hostname ltsp-srvr

or the squidguard startup will fail.

and restart squidguard (this takes care of squid too):

     /sbin/service squidguard restart
     /sbin/chkconfig squidguard on

For full instructions on installing squidGuard, see the squidGuard website: http://www.squidguard.org/install/

Personal tools