Difference between revisions of "Instalasi SquidGuard"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 31: | Line 31: | ||
# ./configure --with-db=/directory/of/BerkeleyDB/installation | # ./configure --with-db=/directory/of/BerkeleyDB/installation | ||
− | atau | + | atau, misalnya, |
# ./configure --with-db=/usr/local/BerkeleyDB.4.6/ | # ./configure --with-db=/usr/local/BerkeleyDB.4.6/ |
Revision as of 14:46, 2 April 2008
Untuk menginstalasi SquidGuard anda membutuhkan software pendukung seperti
- Squid.
- Berkeley DB. Di Ubuntu biasanya sudah terinstal Berkeley DB untuk xserver.
Sebaiknya kita install Berkeley DB dari Source Code. Instruksi Instalasi Berkeley DB dari Source Code bisa di baca di Instalasi Berkeley DB.
Ambil source code SquidGuard dari
http://www.squidguard.org/Downloads/squidGuard-1.3.tar.gz
Buka source code squidGuard
# cd squidGuard-1.3.tar.gz /usr/local/src # cd /usr/local/src # tar xvzf squidGuard-1.3.tar.gz
Compile
# cd squidGuard-1.3 # ./configure # make
Jika tidak ada error maka squidGuard terinstalasi di /usr/local/. Pilihan lain untuk melakukan ./configure. Jika squidGuard di instal di directory lain,
# ./configure --prefix=/some/other/directory
Jika BerkeleyDB tidak berada di /usr/local/BerkeleyDB
# ./configure --with-db=/directory/of/BerkeleyDB/installation
atau, misalnya,
# ./configure --with-db=/usr/local/BerkeleyDB.4.6/
Install squidGuard
$ su - # make install
Instal blacklists, default menggunakan /usr/local/squidGuard/db. Pastikan anda mempunya permission untuk menulis ke directory tersebut, lakukan,
# cp /path/to/your/blacklist.tar.gz /usr/local/squidGuard/db # cd /usr/local/squidGuard/db # gzip -d blacklist.tar.gz # tar xfv blacklist.tar
Sekarang blacklist siap digunakan