Pejman Moghadam / Slackware

Slackware 13.1 - greasyspoon ICAP Server

Public domain


greasyspoon

original download link

cd /usr/src
wget -c "http://pmoghadam.com/homepage/Pages/Deposit/Source-packages/greasyspoon-release-1.0.7.tar.gz"
tar xf greasyspoon-release-1.0.7.tar.gz 
cd greasyspoon-release-1.0.7
# 32bit : sed -ie 's,^JAVA_HOME=.*,JAVA_HOME=/usr/lib/java/,' greasyspoon
# 64bit : sed -ie 's,^JAVA_HOME=.*,JAVA_HOME=/usr/lib64/java/,' greasyspoon
mkdir /usr/local/greasyspoon
cp -rv * /usr/local/greasyspoon

/usr/local/greasyspoon/conf/icapserver.conf

.
.
.
icap GreasySpoon 127.0.0.1 1344 greasyspoon.ini
.
.
.

/etc/rc.d/rc.local

/usr/local/greasyspoon/greasyspoon start

Web interface

http://127.0.0.1:8088
http://192.168.15.5:8088
admin/admin

greasyspoon log file

tail -f /usr/local/greasyspoon/log/*

squid-3.1.10

./configure \
  --prefix=/usr/local/squid \
  --enable-forward-log \
  --enable-follow-x-forwarded-for \
  --enable-snmp \
  --enable-linux-netfilter \
  --enable-http-violations \
  --enable-delay-pools \
  --enable-storeio=diskd,aufs,ufs \
  --with-large-files \
  --enable-large-cache-files \
  --with-filedescriptors=16384 \
  --enable-async-io=128 \
  --enable-removal-policies=lru,heap \
  --enable-useragent-log \
  --enable-referer-log \
  --enable-err-languages=English \
  --enable-default-err-language=English \
  --enable-zph-qos \
  --enable-icap-client

squid.conf

icap_enable on
icap_service service_resp respmod_precache bypass=0 icap://127.0.0.1:1344/response
adaptation_access service_resp allow all

BY: Pejman Moghadam
TAG: greasyspoon, icap, squid
DATE: 2011-05-12 19:43:18


Pejman Moghadam / Slackware [ TXT ]