apt-get under proxy server
1) Open the Terminal and type the following command
sudo gedit /etc/apt/apt.conf.d/02proxy
Note : 01proxy file is not present earlier.
2) Type the following line(in red) in the file:
Acquire::http::Proxy “http://yourusername:yourpassword@yourproxy:yourport″;
3) Save the file and your problem is solved.
Reference
sudo gedit /etc/apt/apt.conf.d/02proxy
Note : 01proxy file is not present earlier.
2) Type the following line(in red) in the file:
Acquire::http::Proxy “http://yourusername:yourpassword@yourproxy:yourport″;
Acquire::http::Proxy "http://foss:3189";
3) Save the file and your problem is solved.
Reference
Comments
Post a Comment