close

修改/etc/apt/apt.config

Acquire::http::proxy "http://127.0.0.1:8118/";

即可使用apt-get

 

reference:

http://blog.xuite.net/chingwei/blog/25792583-%E3%80%90%EF%BC%AC%E3%80%91Ubuntu+%3A+Use+apt-get+Behind+Proxy+Server+

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 M 的頭像
    M

    M的部落格

    M 發表在 痞客邦 留言(0) 人氣()