Thursday, July 16, 2009

To limit APT download

If you need to limit the apt-get / auto update, you can create /etc/apt/apt.conf.d/76download.
Put script bellow into it. Dl-Limit "25" means max download speed will be 25Kbps.


Acquire
{
Queue-mode "access";
http
{
Dl-Limit "25";
};
};

4 comments:

Anonymous said...

Better say nothing than nothing to the purpose. ........................................

燕延 said...

thank for share, it is very important . ̄︿ ̄..................................................

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.