Remote Yum mirror

Posted on

Remote Yum mirror – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, redhat, yum, repository, .

I have a bunch of remote computers that must be updated to the most recent packages for RedHat 4 and RedHat 5. I am using mrepo to mirror the RHN packages, however the remote computers do not have an internet connection.

Because of this I have to update the mirror server that is part of the remote computers with a dvd. This is to cut down shipping costs to just a dvd.

I am attempting to script this so I can fit all of the new packages on a CD or a DVD. I send updates about once or twice a month depending on package requirements.

So my question is, is their a good method to do this so that the only things transferred are the new packages? I wish I could just use rsync.

Thanks.

Solution :

what about a diff of your directory structures? Generate a directory listing of your remote mirror and your local system and transfer only the new files to the CD/DVD.

Leave a Reply

Your email address will not be published.