Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Specifically, if I have a small virtual LAN with multiple VMs of each different distro - say three CentOS VMs, two Debian VMs, and assorted Ubuntu VMs - can Squid safely cache the updates for each with out interfering with one another?

I'm aware of squid-deb-proxy for Ubuntu, but I'm looking for something a little more general purpose - I think.

share|improve this question

1 Answer 1

Well... for what its worth: yes, Squid can easily be used to cache updates for RH-based distros such as CentOS, Fedora and Scientific Linux.

All that is required after initial setup of squid on the server itself is to point the client machines at the server by editing /etc/yum.conf and adding a line at the top that reads:


(insert ip/port numbers appropriate for your setup).

Some additional fine-tuning of squid may be desired in order to adjust the disk cache size, retention times, etc.

share|improve this answer
can you detail the specific squid configuration needed to cache rpm and other files? – Frederick Nord Sep 14 at 9:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.