Configure squidgaurd
othy
-
othy -
othy -
Bonjour,
j'ai un gros probles au installation de squidgarde il afiche message
no db.h fond la bib de berkely db
donc j'ai installer et encore le mem problem
j'ai un gros probles au installation de squidgarde il afiche message
no db.h fond la bib de berkely db
donc j'ai installer et encore le mem problem
Configuration: Windows XP Internet Explorer 6.0
4 réponses
-
Bonjour,
quelle distribution ?
-
-
Bonjour,
Installing squidGuard
1. Unpack the source
tar xvzf squidGuard-1.4.tar.gz
2. Compiling
Let's assume it is squidGuard-1.2.1 we are trying to install:
cd squidGuard-1.4
./configure
make
If no errors occurred squidGuard is now installed in /usr/local/. There are a couple of option you can use when running ./configure. For example:
Installing in a different location
./configure --prefix=/some/other/directory
BerkeleyDB not in /usr/local/BerkeleyDB installed
./configure --with-db=/directory/of/BerkeleyDB/installation
When installed from the sources the BerkeleyDB will be located in /usr/local/BerkeleyDBx.y with x.y denoting the version number.
Annotation: Make sure that the shared library of your BerkeleyDB installation is known by your system (check /etc/ld.so.conf, add your BerkeleyDB library path if it is not already there and run ldconfig).
See all ./configure options
./configure --help
A complete overview of all configure options with some explanations can be found here.
3. Installing
su -
make install
4. Installing the blacklists
Copy your blacklists into the desired blacklist directory (default: /usr/local/squidGuard/db) and unpack them. In the table below we assume that the default location is used. Make sure that you have the proper permissions to write to that directory.
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
Now the blacklists should be ready to use.
-
** The Berkley DB library version 2.6.4 or newer
is required. Get it from https://www.oracle.com/index.html
use --with-db=DIR or --with-db-inc=DIR,
--with-db-lib=DIR to specify its location
(default is /usr/local/BerkeleyDB)
j'ai bloquer ici