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