We have the Red Hat Proxy Server which is suppose to allow all our machines to communicate to the Red Hat Network (RHN) and download updates. However, there are some major problems where the machines do not update completely after approving patches.
As a temporary solution I need to create a local repository. I can do this very easily for RHEL5 machines using reposync, but I don't know how to do this for up2date. Is there a command to sync the whole RHEL4 channel from the RHN? After I have done this, can I just edit /etc/sysconfig/rhn/up2date and point this file to the local repository or do I have to share this volume out and mount it and finally do an rpm -Fvh *?
Thanks for your help everyone.
You can configure YUM for RHEL3 and RHEL4 machines to use the YUM repository configured for CENTOS. The directory structure is same for RHEL and CENTOS. To know more about CENTOS follow the link
NOTE: Be carefull dont go for "full update" as this will change the G-NOME panel for RHEL machine to CENTOS and your system will then appear like CENTOS machine. I will suggest to update only rpm packages you needed not as group.
YUM SRC package for RHEL4 will be in the link
To configure the YUM repository for RHEL3 and RHEL4
If you have problem with proxy server for resolving with Domain controller use the following environmental variable in bah shell
Note: Dont make the above entry in any profile as your domain password will expire after few days and it leads to Domain password lock.
Hope this is will give you idea to proceed.
I actually did a up2date -d -u of a old RHEL 4 U1 machine and then I install the yum-utilities package. This way I was able to create the yum repository using yum-arch /directory/rhel4repo
Then on the machines I wanted to update I edited the file sources and specified the yum repository.
For any missing dependencies I did a up2date --get packagename.
Thanks for your help,
|All times are GMT -5. The time now is 01:19 AM.|