YumRepos

Serve RPMs, locally, secure, fast, simple

Visit me on GitHub

Features

With YumRepos, you …

  • have a simple ReST API, to handle your repositories and RPMs,
  • have always up-to-date metadata, no scheduler to wait/hope for: YumRepos has a synchronous and blazingly fast metadata handling!
  • serve your repositories as simple static content, no complex logic between you and your rpms, just a web server
  • deduplicate your RPMs on upload, YumRepos uses hardlinks for all ‘copies’ of the same RPM, so no space gets wasted
  • might nest your repositories as deep as you need,
    no need to define a maximum nesting depth upfront
  • need just 3 commands from “zero” to “working yum repository service”. okay, you need a CentOS7 machine to start with, afterwards you need at least one set of credentials, and there are no repositories or RPMs at all… but: the service is up-n-running, and using that service is just a http request away

This place here also hosts the yum repository for the yumrepos rpms and its centos7 configuration!

Installation

Prerequisites: centos7 machine, with root and internet access

  1. enable epel repos and yum utilities:
    yum install epel-release yum-utils
  2. enable this repo:
    yum-config-manager --add-repo https://arnehilmann.github.io/yumrepos/yumrepos.repo
  3. install yumrepos configuration for centos7:
    yum install yumrepos-0.9.10-py27 yumrepos-behind-nginx-on-centos7

Now just follow the instructions on your new shiny yumrepos server:
visit https://localhost/

Further Questions/Comments?

Have a look at the API.
And see the admin part or the centos7-specific configuration of this installation.