Instalasi SquidGuard

From OnnoWiki
Revision as of 07:43, 29 March 2008 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Buka source code squidGuard

# tar xvzf squidGuard-1.2.1.tar.gz


Compile

# cd squidGuard-1.2.1
# ./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


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


Pranala Menarik