Ubuntu的apt-get代理设置
2017-05-31 17:02
246 查看
三种方法
-o选项
配置文件
环境变量
据说9.10以前版本才支持
-o选项
# sudo apt-get -o Acquire::http::proxy="http://127.0.0.1:8080/" update
配置文件
# vi /etc/apt/apt.conf Acquire::http::proxy "http://127.0.0.1:8080/"; Acquire::ftp::proxy "ftp://127.0.0.1:8080/"; Acquire::https::proxy "https://127.0.0.1:8080/";
环境变量
据说9.10以前版本才支持
export http_proxy=http://127.0.0.1:8080
相关文章推荐
- ubuntu下为apt-get设置代理 (转)
- ubuntu apt-get 命令的代理设置
- Ubuntu下apt-get的网络代理设置(终端命令行的网络代理设置)
- Ubuntu 的 apt-get 代理设置
- Ubuntu下apt-get的网络代理设置(终端命令行的网络代理设置)
- 转载:Ubuntu 的 apt-get 代理设置
- Ubuntu下apt-get的网络代理设置(终端命令行的网络代理设置)
- Ubuntu apt-get代理设置
- Ubuntu下apt-get的网络代理设置(终端命令行的网络代理设置)
- [zz]ubuntu下为apt-get设置代理
- ubuntu apt-get 代理设置 使用代理设置源(使用代理更新Ubuntu的方法)
- ubuntu apt-get 使用代理设置,坑爹。。
- Ubuntu的apt-get 设置代理的方法
- Ubuntu下apt-get的代理设置
- ubuntu下为apt-get设置代理
- Ubuntu 代理上网设置(firefox,新立得,apt-get等)
- Ubuntu 代理上网设置(firefox,新立得,apt-get等)
- 【Ubuntu14.04.1】设置代理以使用Apt-get命令
- Ubuntu 的 apt-get 代理设置(zhuan)