Difference between revisions of "DPI908/SBR600 Repo Creation Lab"
Chris Tyler (talk | contribs) (Created page with 'Category:DPI908/SBR600 Labs = Purpose = To learn how to create a repository. = Background Resources = Signing and Creating a Repository for RPM Packages = Required Re…') |
Chris Tyler (talk | contribs) (→Purpose) |
||
Line 2: | Line 2: | ||
= Purpose = | = Purpose = | ||
− | To learn how to create a repository. | + | To learn how to create a RPM package repository for use with <code>yum</code>. |
= Background Resources = | = Background Resources = |
Revision as of 13:42, 19 September 2012
Contents
Purpose
To learn how to create a RPM package repository for use with yum
.
Background Resources
Signing and Creating a Repository for RPM Packages
Required Resources
Before starting this lab, you will need:
- The RPMs from the previous lab.
- An account on a system that can serve files to the web (http or ftp).
Preparation
- Check that you have the
createrepo
package installed.
Steps
Creating the Repository
- Place the signed RPMs in a directory on your Fedora system.
- Run this command:
createrepo .
- Make a note of the subdirectory and file created by the previous step.
- Make the files available via the web (copy to the appropriate system and directory).
Creating the Repo and Key Files
- Create the repo and key files as outlined on the Signing and Creating a Repository for RPM Packages page.
- Test that they work as expected.
Create a Release File
- A release package makes it easy for people to get software from your repository. Create a release package as outlined
Signing and Creating a Repository for RPM Packages page.
Deliverable
Create a blog post describing your experience. Include:
- Notes on what you did, and what worked and didn't work.
- The results, including a link to your release package.
- Your reflections on the tools, process, and experience.