Difference between revisions of "Squid"
From CBLFS
Jump to navigationJump to search (New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://squidcache.cybermirror.org/squid-3/STABLE/squid-3.0.STABLE9.tar.bz2 |} ---- {{Package-Introduction...) |
|||
Line 14: | Line 14: | ||
* [[Squid]] | * [[Squid]] | ||
=== Optional === | === Optional === | ||
− | * [[ | + | * [[Open-SSL]] |
− | * [[ | + | * [[Iptables]] #recommed |
− | + | ||
− | + | == OpenSSH User/Group & PrivSep Dir == | |
− | + | squid:!:26:26:Squid Proxy:/dev/null:/bin/false | |
− | + | ||
− | + | groupadd -g 59 squid && | |
− | + | useradd -c 'squid cache' -d /var/spool/squid -g squid -s /bin/false -u 59 squid && | |
− | + | install -v -m700 -d /var/spool/squid && | |
+ | chown -v squid:squid /var/spool/squid | ||
+ | |||
+ | == Configuration Information == | ||
+ | |||
+ | {|style="text-align: left;" | ||
+ | |- | ||
+ | |''--enable-linux-netfilter'': to compile with [[Iptables]] support. #recommed | ||
+ | |- | ||
+ | |''--enable-ssl'': to compile with [[Open-SSL]] support. | ||
+ | |- | ||
+ | |''--enable-shared'': to compile with shared libs support. | ||
+ | |- | ||
+ | |'' --enable-default-err-language=German '': to compile with your language; see $src_dir/error | ||
+ | |- | ||
+ | |" --enable-icmp": ICMP support over Squid | ||
+ | |} | ||
+ | |||
+ | == Non-Multilib == | ||
+ | |||
+ | Compile the package: | ||
+ | |||
+ | ./configure --prefix=/usr --sysconfdir=/etc/squid --enable-linux-netfilter && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install | ||
+ | |||
+ | == Multilib == | ||
+ | '''''This package does not provide any libraries so only one installation is needed.''''' | ||
+ | === 32Bit === | ||
+ | |||
+ | Compile the package: | ||
+ | |||
+ | CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc/squid \ | ||
+ | --enable-linux-netfilter && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install | ||
+ | |||
+ | === 64Bit === | ||
+ | |||
+ | Compile the package | ||
+ | |||
+ | CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc/squid \ | ||
+ | --enable-linux-netfilter --libdir=/usr/lib64 && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install |
Revision as of 07:16, 8 October 2008
Download Source: | http://squidcache.cybermirror.org/squid-3/STABLE/squid-3.0.STABLE9.tar.bz2 |
---|
Contents
Introduction to Squid
The Squid package is a powerful Web Cache Proxy.
Project Homepage: http://www.squid-cache.org
Dependencies
Required
Optional
OpenSSH User/Group & PrivSep Dir
squid:!:26:26:Squid Proxy:/dev/null:/bin/false
groupadd -g 59 squid && useradd -c 'squid cache' -d /var/spool/squid -g squid -s /bin/false -u 59 squid && install -v -m700 -d /var/spool/squid && chown -v squid:squid /var/spool/squid
Configuration Information
--enable-linux-netfilter: to compile with Iptables support. #recommed |
--enable-ssl: to compile with Open-SSL support. |
--enable-shared: to compile with shared libs support. |
--enable-default-err-language=German : to compile with your language; see $src_dir/error |
" --enable-icmp": ICMP support over Squid |
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc/squid --enable-linux-netfilter && make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc/squid \
--enable-linux-netfilter &&
make
Install the package
make install
64Bit
Compile the package
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc/squid \
--enable-linux-netfilter --libdir=/usr/lib64 &&
make
Install the package
make install