Local Ubuntu Mirror

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Mar 22 11:36:09 UTC 2011


On Tue, Mar 22, 2011 at 3:10 PM, Ahmed Kamal <ahmed.kamal at canonical.com>wrote:

> On 03/22/2011 10:40 AM, Kaushal Shriyan wrote:
>
>> Hi,
>>
>> Is there a way to forcefully redirect the client to Local Ubuntu
>> Mirror ? The reason being we do not want to choke Internet bandwidth
>> while visiting Global Ubuntu Mirror.
>>
> Hi, You might enjoy this highly elegant way of Ubuntu updates caching and
> advertising over avahi to local clients
> http://popey.com/blog/2010/12/31/caching-ubuntu-package-downloads/
>
> --
> ubuntu-mirrors mailing list
> ubuntu-mirrors at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mirrors
>

Hi,

I have added the below entries in /etc/jesred.rules

regex ^http://((.*)archive.ubuntu.com/ubuntu/(dists|pool)/.*)$
http://172.26.0.164
regex ^http://(security.ubuntu.com/ubuntu/(dists|pool)/.*)$
http://172.26.0.164
and restarted squid

I have local ubuntu mirror 172.26.0.164 using deb-mirror method but still it
points to Global mirror
Please suggest

Thanks

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-mirrors/attachments/20110322/0856be04/attachment.html>


More information about the ubuntu-mirrors mailing list