Skip to content

Instantly share code, notes, and snippets.

@hubenchang0515
Last active June 6, 2025 14:37
Show Gist options
  • Save hubenchang0515/c450a44b4099a65785685598021179e0 to your computer and use it in GitHub Desktop.
Save hubenchang0515/c450a44b4099a65785685598021179e0 to your computer and use it in GitHub Desktop.
配置 APT 的代理

配置 APT 的代理

参考 配置 APT 的代理

最近遇到 APT 连不上 docker 源的问题,需要配置 APT 的代理。

创建 /etc/apt/apt.conf.d/50proxy.conf 文件,填入代理配置:

Acquire::http::Proxy "http://ADDRESS:PORT";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment