Ubuntu 为apt-get 设置代理
打开/etc/apt/apt.conf文件 Acquire::http::proxy "http://:8080/"; Acquire::https::proxy "https://:8080/"; Acquire::ftp::proxy "ftp://:8080/"; Acquire::socks::proxy "socks://:8080/";
如果你确信你的server名称没问题还是连不上, 试试把server名称换成server的IP地址。
打开/etc/apt/apt.conf文件 Acquire::http::proxy "http://:8080/"; Acquire::https::proxy "https://:8080/"; Acquire::ftp::proxy "ftp://:8080/"; Acquire::socks::proxy "socks://:8080/";
如果你确信你的server名称没问题还是连不上, 试试把server名称换成server的IP地址。
暂无评论。
评论功能维护中,当前仅展示历史评论。