Berikut squidguard yang sudah saya pasang di mesin 64bit ubuntu-server untuk kebutuhan filtering website pornografi.

Install Aplikasi pendukung.
apt-get install -y bison
apt-get install -y flex
apt-get install -y build-essential
Download
Link Download
Berkeley DB 4.8.30NC.tar.gz , without encryption (22M)
Download

Install Aplikasi pendukung.
apt-get install -y bison
apt-get install -y flex
apt-get install -y build-essential
Download
Oracle Berkeley DB
http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.htmlLink Download
Berkeley DB 4.8.30NC.tar.gz , without encryption (22M)
Download
SquidGuard V1.4
Link Download
tar -xvzf squidGuard-1.4.tar.gz
tar -xvzf db-4.8.30.NC.tar.gz
tar -xvzf db-4.8.30.NC.tar.gz
Install OracleBerkeley DB versi 4.8.30.NC
cd db-4.8.30
cd build_unix
../dist/configure
make
sudo make install
cd build_unix
../dist/configure
make
sudo make install
Install SquidGuard versi 1.4
cd squidGuard-1.4
./configure --with-db=/usr/local/BerkeleyDB.4.8 --with-squiduser=proxy
make
sudo make install
make
sudo make install
Download Daftar List Blacklist
URL download di http://cri.univ-tlse1.fr/blacklists/index_en.php
tar xvfz blacklists.tar.gz
mv blacklist/* cd /usr/local/squidGuard/db
mv blacklist/* cd /usr/local/squidGuard/db
chow -R proxy:proxy /usr/local/squidGuard/db/*
sudo tar -xvf blacklists.tar.gz
Configurasi file squidGuard yang ada di /usr/local/squidGuard/squidGuard.conf dan jalankan command berikut.
squidGuard -d
squidGuard -d -C all
-------------------------
source : http://www.danscourses.com/Linux-Fundamentals/install-a-configure-squidguard-in-ubuntu.html
-------------------------
Note 1:
* Jika saat menjalankan command squidGuard -d muncul message error yang menjelaskan file libdb-4.8.so tidak ditemukan, jalankan command berikut.
cd /usr/lib/x86_64-linux-gnu/
ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so ./
Note 2:
* Jika saat menjalankan command squidGuard -d -C all muncul message error yang menjelaskan "BDB1565 DB->put: method not permitted before handle's open method"
# squidGuard -d -C all
2014-05-03 13:07:38 [1940] New setting: dbhome: /usr/local/squidGuard/db
2014-05-03 13:07:38 [1940] New setting: logdir: /usr/local/squidGuard/log
BDB1565 DB->put: method not permitted before handle's open method
Note 3:
* SquidGuard yang dipasang dikombinasikan dengan squid3, dan ada beberapa perubahan yang signifikan dengan squid3, contohnya adalah
Done.
* Jika saat menjalankan command squidGuard -d -C all muncul message error yang menjelaskan "BDB1565 DB->put: method not permitted before handle's open method"
# squidGuard -d -C all
2014-05-03 13:07:38 [1940] New setting: dbhome: /usr/local/squidGuard/db
2014-05-03 13:07:38 [1940] New setting: logdir: /usr/local/squidGuard/log
BDB1565 DB->put: method not permitted before handle's open method
Pastikan BerkeleyDB yang anda gunakan Versi 4.8, karena saya mencoba Versi 6.0.30 tidak running, dan terakhir saya downgrade ke versi 4.8, belum tau apa penyebabnya.
Note 3:
* SquidGuard yang dipasang dikombinasikan dengan squid3, dan ada beberapa perubahan yang signifikan dengan squid3, contohnya adalah
http_port 3128 transparent
dirubah menjadihttp_port 3128 accel vhost allow-direct
0 Response to "SquidGuard - Filtering Website Porno "
Post a comment
Tinggalkan jejak agan dihalaman komentar dibawah ini.. Jangan lupa :)
- ITLampung.Com