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....? hAppz
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. Code: [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://centos.mirror.ac.za/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
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!! hAppz
Yes ping get the ip and provide them with the ip address, as for php 5.2, that is in the centos testing repo http://dev.centos.org/centos/5/CentOS-Testing.repo