HTTP 代理伺服器 for apt

 

HTTP 代理伺服器

若要讓 apt 透過其他的 HTTP 代理伺服器下載資料,可以將 /etc/apt/apt.conf.d/12proxy 設定檔改為以下這樣的 HTTP 代理伺服器設定:

Acquire::http::Proxy "http://your.proxy.com:3128";
Acquire::https::Proxy "http://your.proxy.com:3128";
Acquire::ftp::Proxy "http://your.proxy.com:3128";

留言

這個網誌中的熱門文章

在 Ubuntu server 22.04 設定 NTP server 校時

firewalld