设置当前终端生效
sudo apt-get install firefox 安装火狐浏览器export http_proxy=http://proxyAddress:portexport https_proxy=http://proxyAddress:port#export all_proxy=http://127.0.0.1:7890
查看
env |grep -i proxy
取消
unset http_proxyunset https_proxy
全局生效配置
sudo vi /etc/apt/apt.confsudo vi ~/.bashrcsudo vi /etc/enviroment