奏
山東巡撫 臣 孫氏奏
為解決特定地區SSH需代理訪問之難
設置HTTP代理
例一
sudo apt-get -o Acquire::http::proxy="http://127.0.1:8889" update
例二
sudo apt-get install -o Acquire::http::proxy="http://127.0.1:8889" curl
設置Sock代理
例一〇僅一次性使用 sudo apt -o Acquire::socks::proxy="socks5://127.0.0.1:1089/" update
例二〇永久配置
將
Acquire::socks::proxy "socks5://127.0.0.1:1089/";
寫入
/etc/apt/apt.conf.d/12proxy
謹恭摺具
陳伏乞
皇上聖鑒謹
奏
成憲辛丑年八月十七日