Well, install squint is quite simple! But installing squish is quite tricky- the document provided is not sufficient to cover few steps. I’ll try to summerize it (I’ve tested it on FC-5 distro)-
Step -1
- Make backup of your squid.conf for in case things go wrong.
- Install perl GD module. You can read my earlier post on how to set this up.
Step-2
- Guess you have already extracted all squish files
- Copy all the files let’s assume /root/squish
- Change permission to 0777 to all files
- On command shell type- “make install“
- You need to wait quite for a significant amount of time- if you have a populated squid cache
Step-3 (Integrating to Apache)
Paste the below code into httpd.conf file, save and restart your apache-
Alias /squish “/usr/local/squish/”
<Directory “/usr/local/squish/”>
Options +ExecCGI
AddHandler cgi-script .cgi
DirectoryIndex squish.cgi
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Step-4 (configuring user usage control)l
- By now, I guess already your proxy users got stuck in net browsing!
- You can check http://yourip/squish
- Can see something like this
- Now you need to read the FAQ section, unless you’re too impatient to go through it- jump to next point below
- open squish.conf and edit the file as you want to provide privileges to your users. Ooops… here’s the file location /etc/squid/squish.conf
Don’t forget to restart squid everytime after updating the squish.conf file! Chiao!!