apt-get 代理设置

/etc/apt/apt.conf   #如果没有这个文件就新建一个

  

Acquire::http::proxy "http://127.0.0.1:8000/";
Acquire::ftp::proxy "ftp://127.0.0.1:8000/";
Acquire::https::proxy "https://127.0.0.1:8000/";

  

posted @ 2021-03-24 12:20  Vince666  阅读(116)  评论(0编辑  收藏  举报