LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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


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

Rep: Reputation: 18
export prxy 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, 02:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 01-09-2009, 02:44 AM   #3
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Rep: Reputation: 33
keep it in ~/.bash_profile

if this file not exists, search for files with similar name.
 
Old 01-09-2009, 03:08 AM   #4
Isix
Member
 
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 18
Apologies, acid_kewpie, my double posting was wrong.
 
Old 01-09-2009, 03:21 AM   #5
Isix
Member
 
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 18
thread solved


I created ~/.bash_profile and entered the line there. In fact, this solution fixed my Adept Manager who use to crash.

Thank you chakka.lokesh
 
Old 01-09-2009, 03:44 AM   #6
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Rep: Reputation: 33
Quote:
Originally Posted by Isix View Post
Thank you chakka.lokesh
You are welcome.....
 
Old 01-09-2009, 03:45 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
chakka.lokesh, please don't reply to threads marked as double posts.

http://www.linuxquestions.org/questi...nently-696033/

someone else had already given this advice 30 minutes before you did.
 
Old 01-09-2009, 03:54 AM   #8
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Rep: Reputation: 33
Quote:
Originally Posted by acid_kewpie View Post
someone else had already given this advice 30 minutes before you did.
are you sure that the posting in the other thread is 30 min earlier to my response?
 
Old 01-09-2009, 04:19 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Oh yes, wrong hour, either way, you should have replied to that thread, not this one.
 
Old 01-09-2009, 05:09 AM   #10
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Rep: Reputation: 33
Quote:
Originally Posted by acid_kewpie View Post
you should have replied to that thread, not this one.
Agreed.
 
Old 01-09-2009, 05:11 AM   #11
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Rep: Reputation: 33
Quote:
Originally Posted by acid_kewpie View Post
This thread is being closed because it is a duplicate.
At the same time, you should have closed the thread.
 
Old 01-09-2009, 05:31 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I'm not a moderator of this forum, so I can't.
 
  


Closed Thread



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 setting permanently Isix Linux - Newbie 2 01-11-2009 02:37 AM
Setting the xrandr setting permanently dazdaz Linux - Hardware 2 11-24-2005 01:57 AM
setting the default GW permanently hcclnoodles Linux - Networking 6 09-15-2005 09:38 AM
Permanently Set a Export Setting (LD_LIBRARY_PATH) nistelrooy Linux - General 1 11-25-2004 11:33 AM
Permanently Setting the Java_Home Dynapen Linux - Newbie 2 08-04-2004 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 AM.

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
Open Source Consulting | Domain Registration