GENTOO_MIRRORS

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page GENTOO MIRRORS and the translation is 100% complete.
Other languages:
Resources

GENTOO_MIRRORS変数は、/usr/share/portage/config/make.globals内で設定されます:

ファイル /usr/share/portage/config/make.globals
# Default distfiles mirrors. This rotation has multiple hosts and is reliable.
# Approved by the mirror-admin team.
GENTOO_MIRRORS="http://distfiles.gentoo.org"
 
#            *****************************
#            **  DO NOT EDIT THIS FILE  **
# ***************************************************
# **** CHANGES TO make.conf *OVERRIDE* THIS FILE ****
# ***************************************************

この値は、/etc/portage/make.conf 内のエントリで上書きすることができます。

mirrorselect はこのエントリを管理するツールです。エントリにはスペース区切りで Gentoo のミラーのリストを入れることができ、ebuild 内で定義された URL からダウンロードする時や、スナップショットをダウンロード (webrsync) する前にチェックされます。

ファイル /etc/portage/make.confmake.conf 内で 2 つのミラーを定義
GENTOO_MIRRORS="https://mirrors.evowise.com/gentoo/ https://mirrors.lug.mtu.edu/gentoo/"

利用可能なURLは、Gentoo source mirrorsで見つけることができます。

高速なミラーの選択

Mirrorselect の記事の Gentoo ミラーを選択するの節を参照してください。

関連項目

外部資料