LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Update in the background

Posted Oct 13, 2005 15:00 UTC (Thu) by maney (subscriber, #12630)
In reply to: Update in the background by csamuel
Parent article: Review: Ubuntu 5.10 Breezy Badger (Linux.com)

Set maximum_object_size large enough that it will cache, oh, the biggest chunk of OOo, and restart squid. Works well enough for my home/office setup that I've never gotten around to addng Ubuntu sources to the existing apt-cache setup (which I'm now using with only a single Sarge server box... well, and the other one that I'm fiddling with). You can get this working right from the start with a kernel option to the installer along the lines of http_proxy=http://cache.two14.net:3128/, though IIRC you'll need to add that to your user environment or add a parallel setting in /etc/apt/apt.conf for post-install use. AndOfCourse change the cache's address and port as needed for local conditions in both.

As best I recall (can't easily check it from here), the home/office's squid has a max size setting of 50 or 60 MB, and there's been no visible detriment to normal caching of web pages. It's got about 1G of disk space allocated, which might be a bit on the short side if you like to install all the desktops and everything you think you might ever need (viz., a Red Hat style install) you might want to allow more cache space...


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.