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ミラーの選択を参照してください。

関連項目

外部資料