LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2007, 09:42 PM   #1
dkory22
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
dkory22
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:
Code:
http_proxy=http://username:password@proxy:8080
Thanks again!
 
  


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
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

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

All times are GMT -5. The time now is 06:39 PM.

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