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 57% complete.
Outdated translations are marked like this.

Warning: Display title "GENTOO_MIRRORS" overrides earlier display title "GENTOO 镜像".

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 中的条目覆盖

在从 ebuild 中定义的 URL 下载或下载快照(webrsync)之前,该条目可以包含一个由空格分隔的 Gentoo 镜像源列表,以便进行检查。

文件 /etc/portage/make.confmake.conf 中两个镜像位置
GENTOO_MIRRORS="https://mirrors.evowise.com/gentoo/ https://mirrors.lug.mtu.edu/gentoo/"

可以在 Gentoo 镜像源找到可用URL。

选择一个快的镜像

请在 Mirrorselect 文章中查看选择镜像源小节

另请参阅

外部资源