run this command :
/sbin/e-smith/db yum_repositories set dag repository \
Name 'Dag - EL4' \
BaseURL '
http://apt.sw.be/redhat/el4/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey
http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled
signal-event yum-modify
there's no file wget
http://mirror.contribs.org/contribs/jbennett/sme7/squidguard/RPMS/smeserver-squidguard-1.0-34.noarch.rpmu can change it from ( download it and install them )
wget
http://smeserver.crazynetwork.it/contribs/jbennett/sme7/squidguard/RPMS/smeserver-squidguard-1.0-35.noarch.rpmwget
http://smeserver.crazynetwork.it/contribs/jbennett/sme7/squidguard/RPMS/squidguard-blacklists-20050528-2.smeserver.rf.noarch.rpmthen install them with this command
yum localinstall smeserver-squidguard*.rpm --enablerepo=dag and rpm -Uvh squidguard-blacklists-20050528-2.smeserver.rf.noarch.rpm
and this command signal-event post-upgrade; signal-event reboot
then your server will reboot, wait for a moment, now time to configure ur squid guard, run those command
config show squidguard
and you will see like this
squidguard=service
Blacklist=http://www.shallalist.de/Downloads/shallalist.tar.gz
Squidguard_Allow=trusted
Squidguard_Block=aggressive,drugs,gamble,hacking,porn,sex,untrusted,violence,warez
Squidguard_FullAccess=all
Squidguard_NoAccess=none
status=enabled
after that restart ur squid with this command service squid restart
now to prove ur squid guard was running try this command
tail -f /var/log/squidguard/squidguard.log --> shuold be like this
2011-10-27 21:59:28 [3638] squidGuard 1.2.0 started (1319727568.570)
2011-10-27 21:59:28 [3638] squidGuard ready for requests (1319727568.573)
2011-10-27 21:59:28 [3639] init urllist /var/lib/squidguard/db/warez/urls
2011-10-27 21:59:28 [3639] loading dbfile /var/lib/squidguard/db/warez/urls.db
2011-10-27 21:59:28 [3639] init domainlist /var/lib/squidguard/db/sex/lingerie/domains
2011-10-27 21:59:28 [3639] loading dbfile /var/lib/squidguard/db/sex/lingerie/domains.db
2011-10-27 21:59:28 [3639] init urllist /var/lib/squidguard/db/sex/lingerie/urls
2011-10-27 21:59:28 [3639] loading dbfile /var/lib/squidguard/db/sex/lingerie/urls.db
2011-10-27 21:59:28 [3639] squidGuard 1.2.0 started (1319727568.570)
2011-10-27 21:59:28 [3639] squidGuard ready for requests (1319727568.573)
then control + c,
if u wanna to block some web, run this command
vim /home/e-smith/files/squidguard/untrusted/domains --> add the websites wanna blocked then restart your squid
for database u can see in /var/lib/squidguard/db/
PS : it can't work from server manager, and sorry for my english,
(i love indonesia)