Debian GNU/Linuxの場合は /etc/apt/apt.conf にProxyを設定する。
Acquire
{
http
{
Proxy "http://proxy.hoge.co.jp:8080";
};
ftp
{
Proxy "http://proxy.hoge.co.jp:8080";
};
}
In case of PCLinuxOS, See apt-get proxy
Well, there's three places I set the proxy on a new Linux install.
1) in /etc/profile:
Code:
export http_proxy="http://user:pass@xxx.xxx.xxx.xxx:port/"
export ftp_proxy="http://user:pass@xxx.xxx.xxx.xxx:port/"
Code:
Acquire::http::Proxy "http://user:pass@xxx.xxx.xxx.xxx:port/";
Acquire::ftp::Proxy "http://user:pass@xxx.xxx.xxx.xxx:port/";
Code:
http_proxy = http://user:pass@xxx.xxx.xxx.xxx:port/
ftp_proxy = http://user:pass@xxx.xxx.xxx.xxx.port/
use_proxy = on
0 件のコメント:
コメントを投稿