1.首先在/etc/apt下新建apt.conf文件

touch apt.conf

2.编辑这个文件

vi touch apt.conf

3.输入

Acquire::http::Proxy “http://yourproxyaddress:proxyport”;

代理服务器地址:端口号;

注意大小写

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-05-20
  • 2021-05-30
  • 2021-07-01
  • 2021-11-28
  • 2021-12-08
  • 2021-11-10
猜你喜欢
  • 2021-05-14
  • 2022-12-23
  • 2021-06-06
  • 2021-09-22
  • 2021-09-29
相关资源
相似解决方案