User Tools

Site Tools


networking:linux:qlproxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:linux:qlproxy [2011/12/24 15:12]
gcooper
networking:linux:qlproxy [2011/12/24 15:38] (current)
gcooper
Line 15: Line 15:
 http://issues.quintolabs.com/trac/quintolabs_qlicap/wiki/QlicapDocsInstall http://issues.quintolabs.com/trac/quintolabs_qlicap/wiki/QlicapDocsInstall
  
-==== Install Requirements ====+==== Install System ====
  
-<file> +[[computing:linux:minimal_centos_install|Minimal CentOS Install]]
-yum install wget system-config-firewall-tui squid httpd php +
-</file>+
  
-<file> +This may work on either 32-bit or 64-bit systems.
-vi /etc/squid/squid.conf+
  
-http_access allow localnet +==== Install Requirements ====
-acl localnet src 192.168.0.0/16 +
-visible_hostname       proxy +
-</file>+
  
 <file> <file>
 +yum install wget system-config-firewall-tui squid httpd php
 +
 chkconfig squid on chkconfig squid on
-service squid start 
 chkconfig httpd on chkconfig httpd on
-service httpd start 
 </file>  </file> 
  
Line 52: Line 46:
 </file> </file>
  
 +==== Selinux ====
 +
 +Set to permissive for now:
 +
 +<file>
 +vi /etc/selinux/config
 +</file>
 +
 +==== Configure Squid ====
 +
 +<file>
 +vi /etc/squid/squid.conf
 +
 +http_access allow localnet              #verify exists
 +acl localnet src 192.168.0.0/16         #verify exists
 +
 +visible_hostname       proxy
 +
 +icap_enable on
 +icap_preview_enable on
 +icap_preview_size 4096
 +icap_persistent_connections on
 +icap_send_client_ip on
 +icap_send_client_username on
 +icap_service qlproxy1 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod
 +icap_service qlproxy2 respmod_precache bypass=0 icap://127.0.0.1:1344/respmod
 +adaptation_access qlproxy1 allow all
 +adaptation_access qlproxy2 allow all
 +</file>
 +
 +==== Configure Web Server ====
 +
 +<file>
 +cat << EOF >> /etc/httpd/conf.d/qlproxy.conf
 +
 +#
 +# This is /etc/httpd/conf.d/qlproxy.conf
 +#
 +
 +Alias /qlproxy /var/opt/quintolabs/qlproxy/www
 +   <Directory /var/opt/quintolabs/qlproxy/www >
 +        Options FollowSymLinks
 +        AllowOverride None
 +   </Directory>
 +
 +EOF
 +</file>
 +
 +**Now reboot!**
networking/linux/qlproxy.1324764755.txt.gz · Last modified: 2011/12/24 15:12 by gcooper