LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 03-07-2006, 06:41 AM   #1
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Rep: Reputation: 15
Configuring YUM for behind a proxy server


How do I do this? I need to get yum around my university firewall. Any help would be much appreciated.
 
Old 03-08-2006, 07:28 AM   #2
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
create the following files in /etc/profile.d, and then this will work in *any* shell for *any* user of the system

#proxy.sh
export http_proxy=http://host.comort/
export ftp_proxy=http://host.comort/
export no_proxy=.domain.com
export HTTP_PROXY=http://host.comort/
export FTP_PROXY=http://host.comort/

#proxy.csh
setenv http_proxy http://host.comort/
setenv ftp_proxy http://host.comort/
setenv no_proxy .domain.com
setenv HTTP_PROXY http://host.comort/
setenv FTP_PROXY http://host.comort/

alternatively, take a gander here: http://www.fedoraforum.org/forum/arc...p/t-31402.html

STUPID smileys. Wherever you see a smiley about I typed host.com : port (without the spaces)

Last edited by acidzebra; 03-08-2006 at 07:29 AM.
 
Old 03-08-2006, 08:50 AM   #3
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
cool. Thanks. I'll give it a go.
 
Old 03-19-2006, 11:33 AM   #4
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
I found that it worked by doing export http_proxy= etc. etc., but now i'm back home. How do I undo these setting because I don't have a proxy at home, only a direct connection through a router.
 
Old 09-07-2006, 03:29 PM   #5
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Rep: Reputation: 15
Incredibly stupid newbie questions

If anyone is still reading this thread, maybe you can answer my questions about acidzebra's reply.

He says "Create the following files...". Okay, don't go ballistic on me, but what EXACTLY are the file names? Are the '#' symbols the first characters in the two file names, or do they indicate something I haven't learned yet?

Will doing this provide the proxy server info to other apps and commands besides yum? Specifically, will it fix the Add/Remove Software GUI applet?

How do I pass a username and password to the proxy server?

In Fedora Core 5, do any apps or commands reference the settings in the Network Proxy GUI applet? Firefox doesn't use the settings from it. Apparently yum doesn't either. Does it serve a purpose?

Inquiring minds want to know. Well, at least one.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Configuring proxy server in Kopete nipun_kul Mandriva 4 12-24-2006 04:52 AM
yum thru proxy a1ex_007 Fedora 7 06-29-2005 10:30 AM
yum & proxy koxnas Fedora 0 12-26-2004 02:30 PM
Proxy + Yum beatlelane Fedora 9 12-17-2003 08:25 AM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration