LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Yum/Gcc/Proxy Configuration (http://www.linuxquestions.org/questions/linux-software-2/yum-gcc-proxy-configuration-566168/)

dkory22 07-02-2007 10:42 PM

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!

dkory22 07-02-2007 10:43 PM

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!


All times are GMT -5. The time now is 11:32 AM.