LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   export proxy setting permanently (https://www.linuxquestions.org/questions/linux-newbie-8/export-proxy-setting-permanently-696033/)

Isix 01-09-2009 02:12 AM

export proxy setting permanently
 
I run Kubuntu 8.04 on from a tower. Each time after a reboot I have to do:
Code:

export http_proxy="http://myproxy.myplace:80"
for apt-get to connect to the outside world. I think this can be permanently set somewhere --- is it in ~/.bashrc or /etc/rc.local ?

Cheers,
Isix

Agrouf 01-09-2009 03:18 AM

Quote:

Originally Posted by Isix (Post 3402017)
is it in ~/.bashrc or /etc/rc.local ?

Any
~/.bashrc for 1 user
/etc/rc.local for everybody

Isix 01-11-2009 02:37 AM

Thank you Agrouf --- that is crystal clear!


All times are GMT -5. The time now is 02:33 PM.