Market Logic

Setting up a caching proxy server in Ubuntu

Posted in computers, linux by mktlogic on November 25, 2008

Just a quick summary from a more detailed source

  1. Get squid and squid prefetch: sudo apt-get install squid-prefetch
  2. Edit the configuration file: sudo vi /etc/squid/squid.conf so that the line with the term visible hostname reads visible hostname localhost
  3. Tell squid where to listen by changing the line that reads http_port a.b.c.d:3128 to have the ip address of the intended listening interface.
  4. After the set of lines beginning with acl add acl squidusers src 192.168.1.0/255.255.255.0 or whatever network the proxy should serve.
  5. Find the set of lines that begin with http_access allow and add one more to read http_access allow squidusers and still another line to read http_access deny all
  6. Comment out the line that reads http_access deny! Safe_port
Advertisements

Setting up a caching nameserver in Ubuntu

Posted in computers, linux by mktlogic on November 19, 2008

Install dnsmasq by typing sudo apt-get install dnsmasq and then edit /etc/resolv.conf so that the first line reads nameserver 127.0.0.1 or points to some other address on the local machine, if desired.  That’s it.

Getting Firefox to open links clicked from within Thunderbird

Posted in computers, linux by mktlogic on October 29, 2008

In Thunderbird:
Edit –> Preferences –> Advanced –> General –> Config Editor
Right click in the whitespace –> New –> String
Name of string is “network.protocol-handler.app.ftp”, value is “path and command to start firefox”

Do this again for strings “network.protocol-handler.app.http” and “.https”