HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Technical (
-   -   Repositories- IP and just how do they work (

happz 8th December 2009 15:44

Repositories- IP and just how do they work
I am behind a firewall at work and running CENTOS5.4. I wanted to update php from 5.xx to 5.2 and found that I am unable to get what i need to complete the task because of what i believe is our firewall at work. I get ..."Trying other mirror...."and "urlopen error timed out"....

I contacted corp and they would be willing to let me hit certain IP from the IP of my centos ispconfig servers. My problem is that I can't give the IP because when i yum install xxxxxxx, it tries so many site (and mirrors) that I can't possibly research all IP. What am I doing wrong or what can someone teach me to help me behind the firewall....?


topdog 9th December 2009 09:59

You can configure yum to use a specific mirror, choose one close to you and edit /etc/yum.repos.d/CentOS-Base.repo and use it as the baseurl, commenting out the mirrorlist option.

Here is an example.


name=CentOS-$releasever - Base

happz 11th December 2009 05:25

Great info
They want me to give them the IP address so they can open it on the firewall. Should I ping the mirror's to get the IP and submit that or is there something else i need to do? I have read somewhere about a repo that many are using to get php 5.2 as centos does not come with the newest php version. How would i add that repo using this method and how would i be sure of the IP to relay?

Just want to make sure i cover as many question as might come up...thanks!!


topdog 11th December 2009 08:59

Yes ping get the ip and provide them with the ip address, as for php 5.2, that is in the centos testing repo

All times are GMT +2. The time now is 14:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.