per fare questo bisogna editare come amministratore il file:
#sudo vim /etc/bash.bashrc
ed aggiungere le seguenti due righe:
export HTTP_PROXY=http://nomeutente:password@server-proxy:porta/
export FTP_PROXY=http://nomeutente:password@server-proxy:porta/
per rendere effettive le modifiche
#cd /etc
#source bash.bashrc
[Aggiunta 05/11/2012]
Un settaggio molto piu' completo, che consiglio su Ubuntu, e' il seguente:
#sudo vim /etc/apt/apt.conf
quindi aggiungere le seguenti linee:
Acquire::http::proxy "http://nomeutente:password@server-proxy:porta";
Acquire::https:proxy "https://nomeutente:password@server-proxy:porta";
Ovviamente si puo' aggiungere anche i server ftp
[Aggiunta 05/11/2012]
Un settaggio molto piu' completo, che consiglio su Ubuntu, e' il seguente:
#sudo vim /etc/apt/apt.conf
quindi aggiungere le seguenti linee:
Acquire::http::proxy "http://nomeutente:password@server-proxy:porta";
Acquire::https:proxy "https://nomeutente:password@server-proxy:porta";
Ovviamente si puo' aggiungere anche i server ftp
Nessun commento:
Posta un commento