v2ee - update
type: channel
link: https://v2ee.top/tag/update/
items: apt-get 使用代理进行update upgrade

apt-get 使用代理进行update upgrade
type: item
date: 2017-11-17T15:35:05+00:00
description: apt-get有一个“-o”选项，直接设置apt-get的变量。比如sudo apt-get -o Acquire::http::proxy="http://127.0.0.1:8000/" update sudo apt-get -o Acquire::ftp::proxy="ftp://127.0.0.1:8000/" update sudo apt-get -o Acquire::https::proxy="https://127.0.0.1:8000/" update