Code:
apt-get install bison flex wget http://www.xoroz.com/files/db-4.6.21.tar.gz tar -zxvf db-4.6.21.tar.gz cd db-4.6.2 cd build_unix ../dist/configure –prefix /usr/local/BerkeleyDB make && make install
Code:
echo “/usr/local/BerkeleyDB/lib” >> /etc/ld.so.conf ldconfig ldconfig -v | grep libdb-4
Code:
wget http://www.squidguard.org/Downloads/squidGuard-1.4.tar.gz tar -zxvf squidGuard-1.4.tar.gz cd squidGuard-1.4 ./configure --with-squiduser=proxy make && make install
Code:
“Installing squidGuard Done. Installing configuration file Created directory /usr/local/squidGuard/db Assigned /usr/local/squidGuard/db to user proxy Created directory /usr/local/squidGuard/log Assigned /usr/local/squidGuard/log to user proxy Copied sample squidGuard.conf /usr/local/squidGuard/squidGuard.conf is now readable The initial configuration is complete. Congratulation. SquidGuard is sucessfully installed.”
dan perlu dilihat di mana db directory,dimana squidguard.conf berada...
dan selanjutnya seperti biasa.....
masukkan blacklist di directory db squidguard
lalu
Code:
squidGuard -C all
dan di squid.conf di tambahkan
Code:
redirect_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf
service squid restart
source : http://felipeferreira.net/?p=240
moga2 membantu......












