LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 12-11-2003, 10:48 PM   #1
beatlelane
Member
 
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68

Rep: Reputation: 15
Proxy + Yum


Hi guys!

I need to run yum using a proxy, read the manual and searched the internet. and got this instruction.

"If you would like to use a proxy with yum you can simply set a
shell environment variable of http_proxy. Set it to the url for
your proxy. Ex: http://your_proxyort/"

the problem is, where should i put the proxy setting or how do a set a shell environment variable?

Any help will be appreciated..THANK YOU!
 
Old 12-12-2003, 02:32 AM   #2
beatlelane
Member
 
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68

Original Poster
Rep: Reputation: 15
ok!

..tried this "$ export http_proxy="http://myproxy.com:8080/" but still no luck.

anyone please.!?

 
Old 12-12-2003, 05:51 AM   #3
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
You have to set it before you export it...

From yum' man page:

Proxy configuration
If you would like to use a proxy with yum you can simply set a
shell environment variable of http_proxy. Set it to the url for
your proxy. Ex: "http://your_proxyort/"
 
Old 12-14-2003, 08:18 PM   #4
beatlelane
Member
 
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ugob
You have to set it before you export it...
ok!

well, still a newbie and never had experience on bash.

could you pls..um...would you mind?..just give me the proper syntacs?

THANK YOU VERY MUCH SIR!
 
Old 12-14-2003, 09:27 PM   #5
beatlelane
Member
 
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68

Original Poster
Rep: Reputation: 15
yehaaa!...problem solved!

here's how, at the prompt.

$set "http://myproxy.mydomain:8080/"
$export proxy_http="http://myproxy.mydomain:8080/"

BIG thanks for ugop!
 
Old 12-14-2003, 10:18 PM   #6
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
There you go...

No problem
 
Old 12-17-2003, 12:59 AM   #7
beatlelane
Member
 
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ugob
There you go...

No problem
ok! but now,...i want it to be permanent!

the problem is i cant find information on the net...more on PATH etc.

i wish my problem will be solved before christmas...so i could fresh start the next project next year.

THANKS PEOPLE!
 
Old 12-17-2003, 01:04 AM   #8
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
easy, you want to make it permanent for one user or for all users?

for all? Add your set and export to /etc/profile

for a user only?

same thing to ~/.bash_profile
 
Old 12-17-2003, 02:22 AM   #9
beatlelane
Member
 
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ugob
easy, you want to make it permanent for one user or for all users?

for all? Add your set and export to /etc/profile

for a user only?

same thing to ~/.bash_profile
*again my savior*

surely, will try this one soon i finished reinstalling the system. well,i did something that newbie should not do..i tried to acces my XP Hard Disk as slave, edit my grub configuration and insert something like this i got from the internet:

title WinXP
unhide (hd1,0)

and whoola!!!...everything is gone. ..i think would be better if i attend a training on linux, at least a basic course...hihihi.

be back soon people...thanks again ugob!
 
Old 12-17-2003, 08:25 AM   #10
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
don't reinstall, just boot in rescue mode, using the cd, or boot from the floppy you've created at install. You did that right?

Then you edit your grub.conf, reboot.
 
  


Reply



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
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
yum thru proxy a1ex_007 Fedora 7 06-29-2005 10:30 AM
can't get yum or up2date to work. Am accessing via proxy. Tried to configure. pmprichard Linux - Networking 1 01-16-2005 12:09 PM
yum & proxy koxnas Fedora 0 12-26-2004 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:00 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
Open Source Consulting | Domain Registration