Настройки Прокси-соединения в Убунте

1) Прописать в /etc/apt/apt.conf типа этого

Acquire::http::proxy "http://username:password@proxy:3128/";
Acquire::https::proxy "https://username:password@proxy:3128/";
Acquire::ftp::proxy "ftp://username:password@proxy:3128/";


2) Прописать в /etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
http_proxy="http://username:password@proxy:3128/"
https_proxy="https://username:password@proxy:3128/"
ftp_proxy="ftp://username:password@proxy:3128/"