| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-11-2003, 10:48 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68
Rep:
|
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_proxy ort/"
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!
|
|
|
|
12-12-2003, 02:32 AM
|
#2
|
|
Member
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68
Original Poster
Rep:
|
ok!
..tried this "$ export http_proxy="http://myproxy.com:8080/" but still no luck.
anyone please.!?

|
|
|
|
12-12-2003, 05:51 AM
|
#3
|
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 434
Rep:
|
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_proxy  ort/"
|
|
|
|
12-14-2003, 08:18 PM
|
#4
|
|
Member
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68
Original Poster
Rep:
|
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!
|
|
|
|
12-14-2003, 09:27 PM
|
#5
|
|
Member
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68
Original Poster
Rep:
|
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! 
|
|
|
|
12-14-2003, 10:18 PM
|
#6
|
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 434
Rep:
|
There you go...
No problem 
|
|
|
|
12-17-2003, 12:59 AM
|
#7
|
|
Member
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68
Original Poster
Rep:
|
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! 
|
|
|
|
12-17-2003, 01:04 AM
|
#8
|
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 434
Rep:
|
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
|
|
|
|
12-17-2003, 02:22 AM
|
#9
|
|
Member
Registered: Jun 2003
Location: Manila
Distribution: Bayanihan+RH9+FC1
Posts: 68
Original Poster
Rep:
|
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!
|
|
|
|
12-17-2003, 08:25 AM
|
#10
|
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 434
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|