Setting Up a Yum Repository
To set up a repository for Community Enterprise Linux packages, follow these steps:
-
Install the
createrepopackage:
~]# yum install createrepo
-
Copy all the packages you want to provide in the repository into one directory (
/mnt/local_repofor example). -
Run
createrepoon that directory (for example,createrepo /mnt/local_repo). This will create the necessary metadata for your Yum repository.