Monday, October 29, 2012

Grabbing fastest mirror on Ubuntu

Netselect is not included by default, need to use Debian stable's netselect

1- Get it here, no dependency.


2- Find the fastest mirror:

netselect -v -s10 -t20 `wget -q -O- https://launchpad.net/ubuntu/+archivemirrors | grep -P -B8 "statusUP|statusSIX" | grep -o -P "(f|ht)tp.*\"" | tr '"\n' ' '`

3- Alter your sources.list and DONE!

No comments: