Linux Mint 14 has a Network Manager that allows to set proxy settings but unfortunately that do not get applied to system level.
[caption id="attachment_71" align="aligncenter" width="555"] Setting Network Proxy Preference in Linux Mint[/caption]
To configure apt follow the following steps
Go to /etc/apt/apt.conf.d/
Create a file called “30proxy” using a text editor like vi
Add the following lines
Acquire::http::proxy “http://username:password@host:port/”;
Acquire::https::proxy “http://username:password@host:port/”;
Acquire::ftp::proxy “http://username:password@host:port/”;
[caption id="attachment_75" align="aligncenter" width="665"] Configuring apt to use network proxy[/caption]
To configure bash in order to use curl, wget etc behind proxy
Add following line in ~/.bashrc
export http_proxy=http://username:password@host:port/
export ftp_proxy=http://username:password@host:port/
Don't forget to replace username and password with your own
[caption id="attachment_71" align="aligncenter" width="555"] Setting Network Proxy Preference in Linux Mint[/caption]
To configure apt follow the following steps
Go to /etc/apt/apt.conf.d/
Create a file called “30proxy” using a text editor like vi
Add the following lines
Acquire::http::proxy “http://username:password@host:port/”;
Acquire::https::proxy “http://username:password@host:port/”;
Acquire::ftp::proxy “http://username:password@host:port/”;
[caption id="attachment_75" align="aligncenter" width="665"] Configuring apt to use network proxy[/caption]
To configure bash in order to use curl, wget etc behind proxy
Add following line in ~/.bashrc
export http_proxy=http://username:password@host:port/
export ftp_proxy=http://username:password@host:port/
Don't forget to replace username and password with your own
Comments
Post a Comment