• Mac OS X,  Mac OS X Server,  Network Infrastructure,  Ubuntu,  Unix

    Clear Squid Proxy Caches

    Every now and then you run into a problem with a caching server that causes you to need to clear out the cache. If running Squid, you can look in the /etc/squid/squid.conf configuration file and find a setting in that file called the cache_dir, which is a path. For example, we’ll use /var/squid/cache in this article. You can clear the cache of a Squid proxy then, by deleting that directory: rm -Rf /var/squid/cache Then recreate the cache directory: mkdir /var/squid/cache Then run squid with a -z option: squid -z Then fire up squid again: squid

  • Mac OS X,  Mac OS X Server,  Mac Security,  personal,  public speaking

    MacTech Spotlight – Fall 2012

    Looks like I’m on the back page of the latest issue of MacTech Magazine (see Table of Contents at http://www.mactech.com/issue-TOCs-2012). And it turns out I’m not there for the reason I usually adorn the back page of magazines; I’m fully clothed and for the most part it’s technical: I’m the MacTech Spotlight. If I keep this up, I’ll be able to keep my clothes on full time in the future. Not sure what will happen to my spot at Sunset and LaBrea now, though… Anyway, despite featuring me, MacTech is a great magazine. Where else can you find information on Adobe packaging, QuickLook development, building a Squid proxy, HTML5 and…

  • Ubuntu,  Unix

    Server Admin on Linux

    Apple recently announced the end of the Apple Xserve. The data center is a funny thing, and being such rack space is critical to most who spend a lot of time there. Many of the previous Xserve customers will continue to buy Mac Pro’s and use them in racks as tall Xserves. Others will purchase Mac Mini’s and use them for certain situations. But many will move on to using the same iron in the data center that they use for everything else, finding a way to duplicate or replace the functionality that was previously in the Xserve with something else. Server Admin is not going to run on Linux.…

  • Ubuntu,  Unix

    Quick Install of Squid and Dans Guardian

    To get Squid and Dans Guardian: apt-get install squid dansguardian To backup the squid config file: cp /etc/squid/squid.conf /etc/squid/squid.conf.bak To make it transparent, uncomment this line from the squid.conf file: http_port 127.0.0.1:3128 transparent Add this on the next line: http_port 8080 Next, backup the dansguardian config file using the following command: cp /etc/dansguardian/dansguardian.conf /etc/dansguardian/dansguardian.conf.bak Then change 8080 to 8081 Then change filtergroups to = 2 rather than the default of 1 You can then install the webmin module from: http://internap.dl.sourceforge.net/sourceforge/dgwebminmodule/dg-0.5.10-pr5.wbm