LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2009, 03:12 AM   #1
Isix
Member
 
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Rep: Reputation: 18
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
 
Old 01-09-2009, 04:18 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Quote:
Originally Posted by Isix View Post
is it in ~/.bashrc or /etc/rc.local ?
Any
~/.bashrc for 1 user
/etc/rc.local for everybody
 
Old 01-11-2009, 03:37 AM   #3
Isix
Member
 
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 18
Thank you Agrouf --- that is crystal clear!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Export proxy settings nitrohuffer2001 Linux - General 4 10-18-2006 12:05 PM
Setting the xrandr setting permanently dazdaz Linux - Hardware 2 11-24-2005 02:57 AM
setting the default GW permanently hcclnoodles Linux - Networking 6 09-15-2005 10:38 AM
Permanently Set a Export Setting (LD_LIBRARY_PATH) nistelrooy Linux - General 1 11-25-2004 12:33 PM
Permanently Setting the Java_Home Dynapen Linux - Newbie 2 08-04-2004 02:53 PM


All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration