修改代理

sudo gedit /etc/apt/apt.conf
当你在安装ubuntu server时,设置代理不小心弄错了,可以通过上面这条命令来修改,
我就遇到这个问题,之后使用sudo apt-get install装东西装不上,因此想到了是在安装的时候出了一点
refference:
此文讲述了三种修改代理的方法
http://hi.baidu.com/soberggg/blog/item/0c597b892a615eb90f2444ab.html

原文地址:https://www.cnblogs.com/lexus/p/1725483.html