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:port/" 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! |
ok!:D
..tried this "$ export http_proxy="http://myproxy.com:8080/" but still no luck. anyone please.!? :( :D |
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:port/" |
Quote:
well, still a newbie and never had experience on bash. could you pls..um...would you mind?:D..just give me the proper syntacs? THANK YOU VERY MUCH SIR! |
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! ;) |
There you go... :)
No problem :) |
Quote:
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!:D |
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 |
Quote:
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. :D :( :o..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! |
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. |
All times are GMT -5. The time now is 09:57 AM. |