Setting up a repository server with yum-pull
[Posted September 20, 2005 by cook]
| From: |
| William Stearns <wstearns-AT-pobox.com> |
| To: |
| lwn-AT-lwn.net, Jonathan Corbet <corbet-AT-eklektix.com> |
| Subject: |
| Setting up a repository server |
| Date: |
| Sun, 18 Sep 2005 01:14:33 -0400 (EDT) |
| Cc: |
| William Stearns <wstearns-AT-pobox.com> |
Good morning, Jon, all,
Yum, apt, up2date and other package management tools have helped
reduce the amount of manual labor involved in installing new rpms, but
don't address the issue of bandwidth used in patching a large collection
of machines or applying updates when ones Internet line is down. *smile*
I've put together a script called yum-pull that pulls down
collections of rpm packages off Internet servers and stores them locally,
creates apt, yum and up2date indexes for them, and shares the files with
client machines. The setup instructions describe all the steps needed to
set up a single repository server, redundant repository servers, and even
a staging server which allows the administrator to manually check packages
before releasing them to client machines.
The current release, version 1.45, supports:
* Centos 3.4 and 4.0, (both i386 and x86_64)
* Fedora Core 1, 2, 3, and 4 (both i386 and x86_64)
* Mandriva (formerly mandrake) 9.1, 9.2, 10.0, 10.1, and 10.2 (i386)
* Redhat 7.3, 8.0, and 9 (i386) (maintained by Fedoralegacy)
* Redhat Enterprise Linux 3 and 4 (i386)
* Novell SuSE 9.2 and 9.3 (i386)
* Whitebox Linux 3 and 4
The currently available modules are: atrpms, biorpms, ccrma, core
(original distribution packages), dag, dries, extras, freshrpms, jpackage,
livna (livna, livna-testing, and livna-unstable), local (packages you
maintain locally), newrpms, nrpms, openpkg, updates (updates to core),
wstearns, and ximian.
Yum-pull can be found at http://www.stearns.org/yum-pull/ . The
setup document is embedded in that page and also accessible by itself at
http://www.stearns.org/yum-pull/README.yum-pull.html .
Patches and suggestions are always welcome.
Cheers,
- Bill
---------------------------------------------------------------------------
(Referring to the 32 bit system that feeds out files for
kernel.org) "We learned that the Linux load average rolls over at 1024.
And we actually found this out empirically."
-- Peter Anvin
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com). Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org
--------------------------------------------------------------------------