Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to create a standard yum/rpm repository with package signing and whatever other best practices exist.

What is the procedure to add RPM, sign it and update the repo xmls?

share|improve this question

closed as not a real question by Michael Hampton, HopelessN00b, Scott Pack, Ward, RobM Nov 1 '12 at 21:49

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This is good information to get, but the level of depth required to answer such a question has already resulted in dozens of tutorials on the Internets. You'll probably get much better results if you break your question down to its constituent components and ask them separately. –  Scott Pack Nov 1 '12 at 18:59

1 Answer 1

You would use the createrepo command to do this.

Make a folder containing the files you wish to distribute. Run createrepo.

From there, you can create a .repo file describing the location of the repository. This file would be distributed to the systems that require access to the repository. That's about it.

Some other notes here.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.