Hello,

On Wed, 28 Jan 2009, Shrinivasan T wrote:
> We need to setup one box as a local repository so that all ubuntu boxes
> should contact the repository box to get the packages.

One way (which is specific to Debian derivatives) is to use some apt
caching software --- "approx" is what I use but there are a few
others.

All the clients then point to this as their "apt repository". 

/etc/apt/sources.list:
deb http://your.approx.host:9999/debian/ lenny main contrib non-free
deb http://your.approx.host:9999/security lenny/updates main contrib non-free

The "approx" server is setup to download from the upstream
repositories. For example,

/etc/approx/approx.conf:
debian          http://http.us.debian.org/debian
security        http://security.debian.org/debian-security

You could add backports and other repositories as the need arises.

The approx server should have enough space in /var/cache/approx to
cache the requests of all clients. It should also have "cron" running
so that "gc_approx" can run and clean up the old packages.

"approx" can also make use of an http proxy if that is required.

Regards,

Kapil.
--
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to