Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-02-2007, 09:42 PM   #1
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Yum/Gcc/Proxy Configuration

Hi! My work is having me load up CentOS 5 on a server and configuring it to run postgresql and apache. Right now I'm working at getting postgres installed but I can't get yum to install it. The problem is yum is trying to connect to the centos website for an xml file but it can't get through our proxy (I think). I've tried adding/changing the http_proxy and ftp_proxy strings in the wgetrc, yum.conf and profile files. In the profile file I used the export prefix. I keep getting the same 404 can't open repomd.xml error.

If I want to download and install the postgres files I have to compile them. For some reason gcc and cc aren't set up on the server either. I guess CentOS 5 doesn't automatically install it like other versions did? So I'm also having problems setting that up too. I can see it has the 4.1.1 version files on the hard drive but they just aren't configured. I need yum in order to set that up.

My last alternative was to use rpm, that seemed to deploy all of the gcc files except the only ones I can find are in usr/src/redhat/SOURCES and they are pretty much all .patch files. There is one .gz file that I'm assuming I need to extract and compile the contents of? Not sure...this is the first time I've ever seen or used linux (I'm an intern). Can anyone give me some direction on how to handle these problems? Thanks!
Old 07-02-2007, 09:43 PM   #2
LQ Newbie
Registered: Jul 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Sorry I have to double post but you can't put URLs in your first post at this site. This is the format I used to specify our proxy settings:
Thanks again!


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Yum behind proxy server lebabyg Fedora 0 10-29-2006 05:50 PM
yum thru proxy a1ex_007 Fedora 7 06-29-2005 10:30 AM
yum & proxy koxnas Fedora 0 12-26-2004 02:30 PM
Proxy + Yum beatlelane Fedora 9 12-17-2003 08:25 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration