ubuntu proxy error

1) In ubuntu proxy settings for updates and installations:

Location: /etc/apt/apt.conf

Acquire::http::proxy “http://<username&gt;:<password>@<ip>:<port>/”; 
Acquire::https::proxy “https://<username&gt;:<password>@<ip>:<port>/”; 
Acquire::ftp::proxy “ftp://<username>:<password>@<ip>:<port>/”; 
Acquire::socks::proxy “socks://<username>:<password>@<ip>:<port>/”; 

2) Environment Proxy Settings:

Location: /etc/environment

http_proxy=”http://<username&gt;:<password>@<ip>:<port>/”
https_proxy=”https://<username&gt;:<password>@<ip>:<port>/”
ftp_proxy=”ftp://<username>:<password>@<ip>:<port>/”
socks_proxy=”socks://<username>:<password>@<ip>:<port>/”

3) Proxy Settings from Terminal:

$ export http_proxy=http://<username>:<password>@<ip>:<port>

$ export https_proxy=https://<username>:<password>@<ip>:<port>

4) Wget Proxy Settings:

Location: /etc/wgetrc

http_proxy=http://<username>:<password>@<ip>:<port>

 https_proxy=http://<username>:<password>@<ip>:<port>

 ftp_proxy=http://<username>:<password>@<ip>:<port>

use_proxy=on

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s