QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 714|回复: 1

安装gentoo时在编译内核这一步出现问题

[复制链接]
发表于 2005-8-19 15:55:06 | 显示全部楼层 |阅读模式
小弟是第一次安装gentoo,在按照gentoo中文社区中的handbook步骤到安装编译内核即emerge gentoo-source这一步时(从stage3开始),发现需要在终端联到国外网,但是由于不懂在终端下设置代理,所以就卡在这个地方了,希望各位懂得在终端下设置代理或者其他解决方法的兄弟施与援手,非常感谢!

附在终端下的源码

ubuntu / # emerge gentoo-sources
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.6.11-r3 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/genpatches-2.6-11.03-extras.tar.bz2
--15:50:58--  http://distfiles.gentoo.org/distfiles/genpatches-2.6-11.03-extras.tar.bz2
           => `/usr/portage/distfiles/genpatches-2.6-11.03-extras.tar.bz2'
正在解析主机 distfiles.gentoo.org... 216.165.129.135, 140.211.166.134
正在连接 distfiles.gentoo.org[216.165.129.135]:80... failed: 连接超时.
正在连接 distfiles.gentoo.org[140.211.166.134]:80... failed: 连接超时.
重试中。

--15:57:17--  http://distfiles.gentoo.org/distfiles/genpatches-2.6-11.03-extras.tar.bz2
发表于 2005-8-19 22:34:21 | 显示全部楼层
Optional: Configure any Proxies

If you access the Internet through a proxy, you might need to set up proxy information during the installation. It is very easy to define a proxy: you just need to define a variable which contains the proxy server information.

In most cases, you can just define the variables using the server hostname. As an example, we assume the proxy is called proxy.gentoo.org and the port is 8080.

2: Defining proxy servers

(If the proxy filters HTTP traffic)
# export http_proxy="http://proxy.gentoo.org:8080"
(If the proxy filters FTP traffic)
# export ftp_proxy="ftp://proxy.gentoo.org:8080"
(If the proxy filters RSYNC traffic)
# export RSYNC_PROXY="proxy.gentoo.org:8080"

If your proxy requires a username and password, you should use the following syntax for the variable:

3: Adding username/password to the proxy variable

http://username:[email protected]:8080
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-2 06:39 , Processed in 0.076301 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表