Selecting mirrors (from gentoo.org)

As Gentoo’s userbase grows, a common complaint is the slowdown of its primary mirrors. Many people in the community have responded, adding more mirrors to help distribute the load.

So where do you find these mirrors? One way is to look on the website at this site . The other (easier) way is to use the handy mirrorselect tool. MirrorSelect is a simple ncurses interface that allows you to select which mirror(s) you want to use for your machine.

MirrorSelect is available in Portage, so a simple emerge is all that’s necessary to install it.

emerge mirrorselect

To use MirrorSelect, simply run mirrorselect at a terminal prompt and then select your preferred mirror(s). When you’re done selecting mirrors, select OK, and your /etc/make.conf will be updated with your new mirrors.

One Response to “Selecting mirrors (from gentoo.org)”

  1. morpheo says:

    This tip is also taken from gentoo.

    This tip shows you how to take advantage of the new country and continent-specific round robin rsync mirror rotations.

    The first step is to determine if your country has a round robin rotation assigned to it.

    host rsync.es.gentoo.org

    If your country doesn’t have an rsync mirror rotation set up yet, you’ll see something like the following:

    host rsync._YOUR_COUNTRY_CODE_.gentoo.org
    Host rsync._YOUR_COUNTRY_CODE_.gentoo.org not found: 3(NXDOMAIN)

    Note:
    Substitute _YOUR_COUNTRY_CODE_ with your country code.

    Another option is to use the new continent-level rsync mirror rotations. Currently, the following continent rotations are set up:

    • rsync.namerica.gentoo.org — North America
    • rsync.samerica.gentoo.org — South America
    • rsync.europe.gentoo.org — Europe
    • rsync.asia.gentoo.org — Asia
    • rsync.au.gentoo.org — Australia (same as the country code)

    Once you have identified which rsync mirror you want to use, edit your /etc/make.conf file and place that value in the SYNC variable.

    SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"

Leave a Reply

You must be logged in to post a comment.