Slackware 13.1 - greasyspoon ICAP Server ======================================== Public domain ******************************************************************************** ### greasyspoon [original download link](http://sourceforge.net/projects/greasyspoon/files/Stable%20release/greasyspoon-release-1.0.7.tar.gz) 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_