LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-01-2007, 03:27 PM   #1
dale_chip
Member
 
Registered: Jun 2007
Location: India
Posts: 41

Rep: Reputation: 15
yum not working


i am not able to install anything via yum program on my computer.
I am connected to internet via a local area network and to get access to internet via a web browse i have to add the address of the proxy server in my web browser.
Maybe it is due to this intermediate proxy server that
every time i yum
it shows error while trying to connect to the mirrors.

Also another problem is that the proxy server here asks for authentication.
so how can i get around this and get yumming.
thnx in advance.
 
Old 07-01-2007, 03:42 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.


Try doing the following in your shell before running yum:
Code:
export http_proxy=http://username:password@http-proxy-hostname:8080
export ftp_proxy=http://username:password@http-proxy-hostname:8080
Dave
 
Old 07-02-2007, 11:42 AM   #3
dale_chip
Member
 
Registered: Jun 2007
Location: India
Posts: 41

Original Poster
Rep: Reputation: 15
thnx,
but that did not seemed to work

besides i have confusion in the portion after '@'.do i have to type 'http' and a '-' after the proxy address and or do i have to provide the proxy address or name or both separated by a '-'.
 
Old 07-03-2007, 02:39 AM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi again.

Replace 'http-proxy-hostname' with the hostname of your proxy machine, and replace '8080' with the port number that the proxy is listening on, e.g.
Code:
export http_proxy=http://dave:p455w0rd@proxyhost:3126
export ftp_proxy=http://dave:p455w0rd@proxyhost:3126
 
Old 07-03-2007, 11:51 AM   #5
dale_chip
Member
 
Registered: Jun 2007
Location: India
Posts: 41

Original Poster
Rep: Reputation: 15
thank you so much

that worked like a rocket.
 
  


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
Why is YUM not working? rayj00 Linux - Software 2 10-07-2006 09:44 PM
yum not working saipraveen Linux - Newbie 4 08-22-2005 11:34 PM
Getting and working with YUM redhat beginer Linux - Software 3 04-24-2005 12:20 PM
Yum not working acidblue Fedora 3 10-24-2004 08:47 PM
Yum Not working ntesla Linux - Software 2 08-06-2004 09:51 AM


All times are GMT -5. The time now is 04:12 PM.

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