Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Question: A local debian mirror?:


Re: Question: A local debian mirror?
Posted by dopehouse (84.130.xx.xx) on Wed 7 Sep 2005 at 11:41
Hi cpankonien! I use apt-proxy, it's a very good tool if you don't need the full >6GB for one cpu-arch. I use it since 2003 and it's doing a great job. All you need to do is
apt-get install apt-get install apt-proxy
and tune the config a little bit. My '/etc/apt-proxy/apt-proxy-v2.conf' (without comments):
[DEFAULT]
address = 192.168.0.187
port = 9999
min_refresh_delay = 1h
complete_clientless_downloads = 1
debug = all:4 db:0
timeout = 15
cache_dir = /home/aptproxy
cleanup_freq = 1d
max_age = 120d
max_versions = 1

[debian]
backends =
        http://ftp2.de.debian.org/debian
        http://ftp.de.debian.org/debian
        http://ftp.us.debian.org/debian
        ftp://ftp.uk.debian.org/debian

[debian-non-US]
backends =
        http://ftp.de.debian.org/debian-non-US
        http://ftp.uk.debian.org/debian-non-US
        ftp://ftp.uk.debian.org/debian

[security]
backends =
        http://ftp2.de.debian.org/debian-security
        http://security.debian.org/debian-security

You can add or remove some servers. I'm from germany so I use the fpt2.de.* mirrors. An Important entry is the security entry, becaus it mirrors the security patches too. The 'adress' entry at the beginning is the apt-proxy ip-adress. Know my '/etc/apt/sources.list':
deb http://192.168.0.187:9999/debian/ sarge main non-free contrib
deb-src http://192.168.0.187:9999/debian/ sarge main non-free contrib
deb http://192.168.0.187:9999/security sarge/updates main contrib non-free
Thats all. Now make
apt-get update
apt-get upgrade
and everything looks like before, but if you make updates on more than just one machine, than you can see the ghosts of debian and apt working.

*Bad english, I know*

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search