We use some add-on packages from EPEL. Since we want to peg packages to specific versions only, and to reduce the number of servers that connect directly to the internet, we decided to build a local mirror for the EPEL repository.
- Install dependencies.
reposyncto add option for "flattened" directories. (By default,
reposynccreates a directory named after the repo ID for placing the downloaded packages.)
- Create the repository directories.
- Start downloading the repo.
- Copy the packages to staging first.
- Create repo metadata.
- Add the following configuration file to
- Use the following
yumrepo config in
sudo yum repolist