LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2013, 01:58 PM   #1
jfernandez1977
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Rep: Reputation: 0
yum through proxy always fails


Hi,

I'm installing software on a Redhat linux in a lab. All internet traffic are through a proxy called proxy.labs

so I put
proxy=http://proxy.labs:80
in the /etc/yum.conf

but when I tried to install anything, I got the following error. What could be the reason? thanks.


yum install gcc gcc-c++ autoconf automake
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
Connection refused
Setting up Install Process
No package gcc-c++ available.
No package autoconf available.
No package automake available.
Nothing to do
 
Old 07-04-2013, 02:13 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
There was an error communicating with RHN.
RHN support will be disabled.
A question ?
Have you contacted RedHat tech support ?
You ( lab) are paying them a lot of cash for the required support contracts for the servers / satellite program

It looks like you missed some of the needed settings in the yum.conf
Code:
# The proxy server - proxy server:port number 
proxy=http://mycache.mydomain.com:3128 
# The account details for yum connections 
proxy_username=yum-user 
proxy_password=qwerty
also it is recomended to install the software group " Development Tools" over individually installing "gcc gcc-c++ autoconf automake"

Code:
su -
yum groupinstall "Development Tools"

Last edited by John VV; 07-04-2013 at 02:16 PM.
 
  


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
Yum with proxy malcmcmul Fedora 2 05-31-2012 10:48 AM
How to switch between a proxy and no proxy connection for yum jaycee4u Fedora 3 09-04-2009 01:14 AM
YUM through proxy? your_shadow03 Linux - Newbie 18 04-22-2009 03:32 AM
yum proxy brusel Red Hat 3 06-04-2008 10:02 AM
Proxy + Yum beatlelane Fedora 9 12-17-2003 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 AM.

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