apt-get proxy 设置

apt-get proxy 设置
Well, there's second places I set the proxy on a new Linux install.
  1) in /etc/profile:
     code:
    
         
export http_proxy = " http://user:[email protected]:port/ "
export ftp_proxy
= " http://user:[email protected]:port/ "

  2) in /etc/apt/apt.conf
     code:
    
Acquire :: http :: Proxy  " http://user:[email protected]:port/ " ;
Acquire
:: ftp :: Proxy  " http://user:[email protected]:port/ " ;


你可能感兴趣的:(apt-get proxy 设置)