6
edits
(→Ubuntu) |
(→Ubuntu) |
||
Line 19: | Line 19: | ||
In this new file (proxy), type the following: | In this new file (proxy), type the following: | ||
Acquire::http::Proxy "http:// | Acquire::http::Proxy "http://proxy.vmsrv.redbrick.dcu.ie:3128"; | ||
Hit Ctrl-x, then "y" to save the details. | |||
To set your proxy system-wide | To set your proxy system-wide you will need to edit you shellrc file. By default this is .bashrc on Ubuntu. Here's how you do it: | ||
export | ~> cd $HOME | ||
~> nano .bashrc | |||
Add the following lines to end of this file | |||
export http_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128"; | |||
export https_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128"; | |||
export ftp_proxy="http://proxy.vmsrv.redbrick.dcu.ie:3128"; | |||
Hit Ctrl-x, then "y" to save the details. | |||
~> source .bashrc | |||
And that's it. Simples. | And that's it. Simples. |