Public domain
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
.
.
.
icap GreasySpoon 127.0.0.1 1344 greasyspoon.ini
.
.
.
/usr/local/greasyspoon/greasyspoon start
http://127.0.0.1:8088
http://192.168.15.5:8088
admin/admin
tail -f /usr/local/greasyspoon/log/*
./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
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