summaryrefslogtreecommitdiffstats
path: root/doc/unsorted/mrepo.txt
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-01-24 18:47:00 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-01-24 18:47:00 +0000
commit7c6c1e10f3cc62acc919123d0067a8a9720aeffa (patch)
treea6f6cb0cc17d41e6ccbc27c2e9f986df2e37c67d /doc/unsorted/mrepo.txt
parente3bd887d601dad1be9352768206cbb45a91a8cc7 (diff)
downloadbcfg2-7c6c1e10f3cc62acc919123d0067a8a9720aeffa.tar.gz
bcfg2-7c6c1e10f3cc62acc919123d0067a8a9720aeffa.tar.bz2
bcfg2-7c6c1e10f3cc62acc919123d0067a8a9720aeffa.zip
doc: Add a lot more unsorted stuff from the wiki
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5703 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc/unsorted/mrepo.txt')
-rw-r--r--doc/unsorted/mrepo.txt65
1 files changed, 65 insertions, 0 deletions
diff --git a/doc/unsorted/mrepo.txt b/doc/unsorted/mrepo.txt
new file mode 100644
index 000000000..cae6e1dc0
--- /dev/null
+++ b/doc/unsorted/mrepo.txt
@@ -0,0 +1,65 @@
+.. -*- mode: rst -*-
+
+.. _unsorted-mrepo:
+
+=====
+mrepo
+=====
+
+This page describes how to setup an [http://dag.wieers.com/home-made/mrepo/ mrepo] mirror.
+
+mrepo builds a local APT/Yum RPM repository from local ISO files, downloaded updates, and extra packages from 3rd party repositories. It takes care of setting up the ISO files, downloading the RPMs, configuring HTTP access and providing PXE/TFTP resources for remote network installations.
+
+Sample mrepo configuration
+==========================
+
+::
+
+ ### Configuration file for mrepo
+
+ ### The [main] section allows to override mrepo's default settings
+ ### The mrepo-example.conf gives an overview of all the possible settings
+ [main]
+ srcdir = /var/mrepo/src
+ wwwdir = /var/www/mrepo
+ confdir = /etc/mrepo.conf.d
+ arch = x86_64
+
+ mailto = <youremail>
+ smtp-server = localhost
+
+ hardlink = yes
+ shareiso = yes
+
+ rsync-timeout = 3600
+
+ [centos5]
+ name = CentOS Server $release ($arch)
+ release = 5
+ arch = x86_64
+ metadata = yum repomd
+
+ # ISO images
+ iso = centos-$release-server-$arch-DVD.iso
+
+ #addons = rsync://mirrors.kernel.org/centos/$release/addons/$arch/RPMS
+ centosplus = rsync://mirrors.kernel.org/centos/$release/centosplus/$arch/RPMS
+ extras = rsync://mirrors.kernel.org/centos/$release/extras/$arch/RPMS
+ #fasttrack = rsync://mirrors.kernel.org/centos/$release/fasttrack/$arch/RPMS
+ os = rsync://mirrors.kernel.org/centos/$release/os/$arch/CentOS
+ updates = rsync://mirrors.kernel.org/centos/$release/updates/$arch/RPMS
+ dag = http://apt.sw.be/redhat/el$release/en/$arch/RPMS.dag
+ dries = http://apt.sw.be/redhat/el$release/en/$arch/RPMS.dries
+ rpmforge = http://apt.sw.be/redhat/el$release/en/$arch/RPMS.rpmforge
+
+ ### Any other section is considered a definition for a distribution
+ ### You can put distribution sections in /etc/mrepo.conf.d/
+ ### Examples can be found in the documentation at:
+ ### /usr/share/doc/mrepo-0.8.6/dists/.
+
+Run mrepo to update the repositories
+====================================
+
+::
+
+ mrepo -ug