Saturday, March 15, 2014

archlinux mirrors otimizados

Instalar os pacotes reflector e rsync
pacman -S reflector rsync



Atualizar a lista de mirrors

[root@localhost ~]# reflector -f 10 --verbose --save /etc/pacman.d/mirrorlist

O resultado final:

[root@localhost ~]# cat /etc/pacman.d/mirrorlist 
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector -f 10 --verbose --save /etc/pacman.d/mirrorlist
# When:       2014-03-15 12:00:23 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2014-03-15 11:56:10 UTC
# Last Check: 2014-03-15 14:51:23 UTC

Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch
[root@localhost ~]#